diff options
Diffstat (limited to 'actionpack/test/controller/resources_test.rb')
-rw-r--r-- | actionpack/test/controller/resources_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/resources_test.rb b/actionpack/test/controller/resources_test.rb index d28089da0c..8772e66283 100644 --- a/actionpack/test/controller/resources_test.rb +++ b/actionpack/test/controller/resources_test.rb @@ -33,11 +33,11 @@ class ResourcesTest < Test::Unit::TestCase # The assertions in these tests are incompatible with the hash method # optimisation. This could indicate user level problems def setup - ActionController::Routing.optimise_named_routes = false + ActionController::Base.optimise_named_routes = false end def tear_down - ActionController::Routing.optimise_named_routes = true + ActionController::Base.optimise_named_routes = true end def test_should_arrange_actions |