diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-18 15:33:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-07-18 17:43:11 +0100 |
commit | 9fe48c5b9db1c0ba6c1a59f0d092c88e5cae1aa0 (patch) | |
tree | 6a244ebe1422fa9fe627a7b4eebf2055adc6016e /spec/controllers/request_controller_spec.rb | |
parent | 6d67f4df65f8b56c9d54d71d449d46b1c6c92be2 (diff) |
Switch routing-filter (which takes locale out of the params and puts it in the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index c73576c50..73d1849ea 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -1645,10 +1645,6 @@ describe RequestController, "when classifying an information request" do @dog_request = info_requests(:fancy_dog_request) @dog_request.stub!(:each).and_return([@dog_request]) InfoRequest.stub!(:find).and_return(@dog_request) - RoutingFilter.active = false - end - after do - RoutingFilter.active = true end def request_url |