aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
Commit message (Collapse)AuthorAgeLines
...
| | * Simplify controller test by mock behaviour in AbilityMatthew Landauer2013-03-03-45/+13
| | |
| | * Can update status when request is old and unclassifiedMatthew Landauer2013-03-03-0/+24
| | |
| | * admin user can change statusMatthew Landauer2013-03-03-2/+16
| | |
| | * Refactor tests a littleMatthew Landauer2013-03-03-19/+21
| | |
| | * only can make the change as the owner of a requestMatthew Landauer2013-03-03-0/+14
| | |
| | * Add basic authentication to new actionMatthew Landauer2013-03-03-16/+26
| | |
| | * Switch to pretty urlsMatthew Landauer2013-03-02-1/+1
| | |
| | * New request controller action for requires_admin state with messageMatthew Landauer2013-03-02-0/+16
| | |
| | * Use routes to only allow post to RequestController#describe_stateMatthew Landauer2013-03-02-9/+5
| | |
| | * Test for what happens when user is playing the classification gameMatthew Landauer2013-03-02-0/+11
| | |
| | * Test for situation where request changes while user is looking at it and ↵Matthew Landauer2013-03-02-0/+10
| | | | | | | | | | | | they change the status
| | * Test for forgetting to select the statusMatthew Landauer2013-03-02-0/+8
| | |
| * | Merge remote-tracking branch 'openaustralia_github/make-links-relative' into ↵Louise Crow2013-03-06-2/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml
| | * Stop using main_url to generate absolute urls for the main siteMatthew Landauer2013-02-15-2/+1
| | |
| * | Clear purge requests in the setup of tests that count them.Louise Crow2013-02-16-3/+7
| | |
| * | Don't integrate views here - we're not looking at a controller.Louise Crow2013-02-16-1/+0
| | |
| * | Clear the purge requests in the setup for these tests so they are isolated ↵Louise Crow2013-02-16-0/+3
| | | | | | | | | | | | from the behaviour of other tests.
| * | Retain filter settings when redirecting a public body to its canonical urlMatthew Landauer2013-02-12-0/+5
| |/
| * modernise redirect tests by converting to using url helpersMatthew Landauer2013-01-29-7/+7
| |
| * Remove interlock as it's not compatible with Rails 3 and is unmaintainedHenare Degan2013-01-18-13/+0
| |
* | Be a bit more exactHenare Degan2013-03-05-1/+1
| |
* | Fix track searches by changing the way the routing worksHenare Degan2013-03-05-1/+1
| |
* | Surely we expect the modified body hereHenare Degan2013-03-04-1/+1
| |
* | Reload the object after reparsing (Rails 3.1 caching)Henare Degan2013-03-04-0/+1
| |
* | Use built in fixture_file_uploadHenare Degan2013-03-04-5/+2
| |
* | This is cast to a string in Rails 3.1Henare Degan2013-03-04-1/+1
| |
* | Params are passed through as strings in Rails 3.1Henare Degan2013-03-03-1/+1
| |
* | We can't mock this in Rails 3.1 so switch to using fixture_file_upload insteadHenare Degan2013-03-03-3/+2
| |
* | We use info_request_id in the view so we should use it in the testHenare Degan2013-03-03-1/+1
| |
* | Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-9/+9
| |
* | response.redirected_to is deprecatedHenare Degan2013-03-03-1/+1
| |
* | Rename ALL THE TEMPLATES!!1!!!one!!1!!Henare Degan2013-02-27-1/+1
| | | | | | | | .rhtml is deprecated in favour of .erb in Rails 3
* | file_name is passed as a string not an arrayHenare Degan2013-02-26-22/+21
| |
* | Update to new mail sending APIHenare Degan2013-02-25-5/+9
| |
* | Update to new mail sending APIHenare Degan2013-02-25-1/+1
| |
* | response.flash has been deprecatedHenare Degan2013-02-25-6/+6
| |
* | 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
| |
* | Spec is deprecated in favour of RSpecHenare Degan2013-02-14-1/+1
| |
* | This parameter is typecast in Rails 3Henare Degan2013-02-07-1/+1
| |
* | Handling of globbed parameters in routes has changedMatthew Landauer2013-02-01-9/+9
| |
* | Cast mail.body to string before matching with a regexMatthew 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-9/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-7/+7
| | |
| * | 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
| |