aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Spec is deprecated in favour of RSpecHenare Degan2013-02-14-1/+1
|
* Remove RSpec version from debug page as it's not available in productionHenare Degan2013-02-14-2/+0
|
* Looks like this is different in the older version of Mail tooHenare Degan2013-02-10-1/+1
|
* Update this to match the older version of the mail gem we're usingHenare Degan2013-02-10-3/+2
|
* Mocking and stubbing work a bit differently, this allows the test to runHenare Degan2013-02-08-1/+1
|
* In test we have 3 available locales so these URLs should contain the locale ↵Henare Degan2013-02-08-2/+2
| | | | in the path
* Update test to use Webrat matchers instead of removed methodsHenare Degan2013-02-07-2/+8
|
* Don't need a regex here, it uses #include?Henare Degan2013-02-07-1/+1
|
* Use path to partial so it works in view testsHenare Degan2013-02-07-1/+1
|
* This parameter is typecast in Rails 3Henare Degan2013-02-07-1/+1
|
* #errors always returns an array now so check for an empty one insteadHenare Degan2013-02-07-2/+2
|
* Bring over test-specific translations config from Rails 2 test helperHenare Degan2013-02-07-3/+4
|
* Update to globalize3 methodHenare Degan2013-02-07-1/+1
|
* Fix bug to allow updating attributes when using strip_attributes and globalize3Henare Degan2013-02-07-7/+9
| | | | | | | | | | | We do this by making strip_attributes manipulate the unsaved object so that it doesn't interact with globalize3. Calling 'record.attributes' would invoke the globalize3 overridden method, which returns the stale translated attribute values. We now use the object's values instead which are the ones we have just assigned and want to update to.
* Update strip_attribute tests to work with our existing modificationsHenare Degan2013-02-07-3/+3
|
* Add a test that exposes a problem we have with renaming attributesHenare Degan2013-02-07-0/+8
|
* Move over to rails 3 mail api because there appear to be problems with ↵Matthew Landauer2013-02-01-11/+11
| | | | sending attachments
* Another hack to manually stitch together a fake email using tmailMatthew Landauer2013-02-01-1/+27
|
* Handling of globbed parameters in routes has changedMatthew Landauer2013-02-01-9/+10
|
* Directly construct tmail object from body and attachments. Ugh. Because ↵Matthew Landauer2013-01-31-2/+22
| | | | actionmailer uses mail under the hood
* Added a bit of a safety net. It's an ugly temporary hack to make debugging ↵Matthew Landauer2013-01-31-0/+8
| | | | easier
* Simplify redirection testMatthew Landauer2013-01-31-4/+2
|
* Globbing in routes is slightly different in Rails 3Matthew Landauer2013-01-31-2/+2
|
* There's really no need to test the internals of RailsMatthew Landauer2013-01-31-12/+7
|
* Cast mail.body to string before matching with a regexMatthew Landauer2013-01-31-1/+1
|
* Access view helper from controller using view_contextMatthew Landauer2013-01-31-1/+1
|
* Fix rendering of atom feed and set correct content typeMatthew Landauer2013-01-31-2/+2
|
* Change that should have been merged in from develop when one form of caching ↵Matthew Landauer2013-01-31-22/+20
| | | | was removed
* Test result of test with examples rather than another implementationMatthew Landauer2013-01-31-5/+14
|
* Convert query to more activerecord 3 formMatthew Landauer2013-01-31-2/+2
|
* Merge branch 'i18n_rails3_preparation' into rails-3-spikeMatthew Landauer2013-01-31-51/+50
|\ | | | | | | | | | | | | | | Conflicts: Gemfile.lock app/controllers/general_controller.rb app/controllers/public_body_controller.rb spec/controllers/public_body_controller_spec.rb
| * Add comment about vendor/rails-locales and Rails 3Matthew Landauer2013-01-17-0/+2
| |
| * As much as possible use I18n.locale for getting the localeMatthew Landauer2013-01-17-2/+2
| |
| * Small refactorMatthew Landauer2013-01-17-6/+1
| |
| * Refactor using I18.with_localeMatthew Landauer2013-01-17-4/+3
| |
| * Set locale with I18n rather than through globalizeMatthew Landauer2013-01-17-26/+26
| |
| * Small refactoring in PublicBody.self.find_by_url_name_with_historic just use ↵Matthew Landauer2013-01-16-22/+19
| | | | | | | | the current locale
| * Set locale in controller test by passing parameter in getMatthew Landauer2013-01-16-11/+7
| | | | | | | | Also using I18n.locale to pass the current locale around.
| * bundle update fast_gettext gettext_i18n_rails gettext locale routing-filterMatthew Landauer2013-01-16-1/+1
| |
| * Remove version restrictions on gems related to i18nMatthew Landauer2013-01-16-10/+10
| |
| * bundle update fast_gettext gettext_i18n_rails gettext locale routing-filterMatthew Landauer2013-01-16-5/+7
| |
| * Moved all gems related to i18n into one place in GemfileMatthew Landauer2013-01-16-5/+8
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-31-4/+2
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-4/+2
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-7/+5
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-2/+6
| |
* | Convert query to more activerecord 3 formMatthew Landauer2013-01-30-3/+7
| |
* | Updated test to correctly test what it was testingMatthew Landauer2013-01-30-2/+1
| |
* | If now query is supplied get all the requestsMatthew Landauer2013-01-30-4/+10
| |
* | Find is now being called with an integer rather than a string. All goodMatthew Landauer2013-01-30-1/+1
| |