aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeLines
* create_ is deprecatedHenare Degan2013-02-25-13/+13
|
* Update to new mail sending APIHenare Degan2013-02-25-13/+21
|
* Update to new mail sending APIHenare Degan2013-02-25-7/+7
|
* Mailers have their own home in Rails 3Henare Degan2013-02-25-16/+0
|
* response.flash has been deprecatedHenare Degan2013-02-25-6/+6
|
* and_return with should_not_receive is deprecated. Fixes #826Henare Degan2013-02-25-2/+2
|
* Correct syntax and reload for Ruby 1.9.3Henare Degan2013-02-21-1/+1
|
* Mark this test as pending until it's fixed. See #819Henare Degan2013-02-20-6/+9
|
* I don't think there's anything else we need from hereHenare Degan2013-02-19-114/+0
|
* Speed up tests by brining the garbage collection hack over tooHenare Degan2013-02-19-15/+14
|
* Use Spork instead of writing our ownHenare Degan2013-02-19-107/+121
|
* Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/general_controller.rb app/controllers/track_controller.rb app/models/outgoing_message.rb app/models/public_body.rb app/models/user.rb app/views/general/frontpage.rhtml config/environment.rb config/initializers/inflections.rb config/initializers/mime_types.rb db/migrate/094_remove_old_tags_foreign_key.rb lib/timezone_fixes.rb spec/models/request_mailer_spec.rb spec/views/request/list.rhtml_spec.rb
| * Merge remote-tracking branch ↵Louise Crow2013-02-01-13/+8
| |\ | | | | | | | | | 'openaustralia_github/backport_timezone_spec_rails_3_fix' into develop
| | * read_attribute does timezone conversion in rails 3. So using ↵Matthew Landauer2013-01-25-13/+8
| | | | | | | | | | | | attributes_before_type_cast instead
| * | Merge remote-tracking branch ↵Louise Crow2013-02-01-7/+7
| |\ \ | | | | | | | | | | | | 'openaustralia_github/use_url_helpers_in_redirect_tests' into develop
| | * | modernise redirect tests by converting to using url helpersMatthew Landauer2013-01-29-7/+7
| | |/
| * | Merge remote-tracking branch ↵Louise Crow2013-02-01-2/+2
| |\ \ | | | | | | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop
| | * | Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-2/+2
| | |/
| * / Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵Matthew Landauer2013-01-28-1/+1
| |/ | | | | | | do anything as used here
| * Remove interlock as it's not compatible with Rails 3 and is unmaintainedHenare Degan2013-01-18-15/+0
| |
* | Spec is deprecated in favour of RSpecHenare Degan2013-02-14-1/+1
| |
* | 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
| |
* | This parameter is typecast in Rails 3Henare Degan2013-02-07-1/+1
| |
* | Bring over test-specific translations config from Rails 2 test helperHenare Degan2013-02-07-3/+4
| |
* | 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-1/+1
| | | | | | | | sending attachments
* | Handling of globbed parameters in routes has changedMatthew Landauer2013-02-01-9/+9
| |
* | Simplify redirection testMatthew Landauer2013-01-31-4/+2
| |
* | There's really no need to test the internals of RailsMatthew Landauer2013-01-31-9/+0
| |
* | Cast mail.body to string before matching with a regexMatthew Landauer2013-01-31-1/+1
| |
* | Fix rendering of atom feed and set correct content typeMatthew Landauer2013-01-31-1/+1
| |
* | Test result of test with examples rather than another implementationMatthew Landauer2013-01-31-5/+14
| |
* | Merge branch 'i18n_rails3_preparation' into rails-3-spikeMatthew Landauer2013-01-31-10/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock app/controllers/general_controller.rb app/controllers/public_body_controller.rb spec/controllers/public_body_controller_spec.rb
| * | Set locale with I18n rather than through globalizeMatthew Landauer2013-01-17-10/+10
| | |
| * | Set locale in controller test by passing parameter in getMatthew Landauer2013-01-16-9/+5
| | | | | | | | | | | | Also using I18n.locale to pass the current locale around.
* | | Updated test to correctly test what it was testingMatthew Landauer2013-01-30-2/+1
| | |
* | | Find is now being called with an integer rather than a string. All goodMatthew Landauer2013-01-30-1/+1
| | |
* | | mail from_addrs now doesn't return the nameMatthew Landauer2013-01-29-1/+1
| | |
* | | errors returns an array nowMatthew Landauer2013-01-29-1/+1
| | |
* | | params_from doesn't exist anymoreMatthew Landauer2013-01-29-2/+2
| | |
* | | When matching mail.body with regex cast to string firstMatthew Landauer2013-01-29-3/+3
| | |
* | | Replace use of response.should send_email with checking ↵Matthew Landauer2013-01-29-4/+4
| | | | | | | | | | | | ActionMailer::Base.deliveries
* | | Clear out ActionMailer::Base.deliveries before each test. Rspec should be ↵Matthew Landauer2013-01-29-33/+7
| | | | | | | | | | | | doing this but isn't for controller tests
* | | modernise redirect tests by converting to using url helpersMatthew Landauer2013-01-29-7/+7
| | |
* | | When matching the body of an email to a regex cast it to a stringMatthew Landauer2013-01-29-6/+6
| | |
* | | Email address returned from mail doesn't have the name part anymoreMatthew Landauer2013-01-29-9/+9
| | |
* | | Pass string to paremeter in testMatthew Landauer2013-01-29-1/+1
| | |