aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/services_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
* Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-4/+4
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-spikeMatthew Landauer2013-01-04-1/+43
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock Rakefile app/controllers/request_controller.rb lib/tasks/rspec.rake spec/controllers/services_controller_spec.rb spec/spec_helper.rb spec/views/request/_after_actions.rhtml_spec.rb
| * Rewrite specs that were in spec/controller/application_controller as ↵Louise Crow2012-12-17-2/+44
| | | | | | | | full-stack controller specs in the relevant controllers. It turns out that having spec blocks that reference the ApplicationController class directly i.e. "describe ApplicationController" can have unpredictable effects. actionpack's action_controller/test_case.rb rewrites rescue_action_without_handler on whatever it is included in, and if this is done on a controller class, and then directly on action controller, it can result in an infinite loop of recursive calls. This turns out to be the problem that was causing some tests in error_spec.rb to fail in Travis under Ruby 1.9.
* | integrate_views is render_views RSpec 2Henare Degan2012-12-11-2/+2
|/
* Add before and after methods to isolate any effect these tests have on locale.Louise Crow2012-08-01-2/+12
|
* Make the logic that tells you about other countries' Alavetelis prefer the ↵Seb Bacon2012-05-30-3/+5
| | | | browser language; and make the tests pass.
* Flash a message to users from outside the deployed country, telling them ↵Seb Bacon2011-09-05-0/+31
about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124.