diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-11-23 20:20:50 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-11-23 20:20:50 -0600 |
commit | 15ab3a98a1b6f9b829060ba974048b33466f6814 (patch) | |
tree | 17ffc94d9ddb1144e8367ccda2e3fd17d238bf8b /railties | |
parent | f987e8561c2fdbf5f6ade34d68f66b6e7e19d8d3 (diff) | |
download | rails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.gz rails-15ab3a98a1b6f9b829060ba974048b33466f6814.tar.bz2 rails-15ab3a98a1b6f9b829060ba974048b33466f6814.zip |
Find all controllers in memory to use for routing
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/rails_info_controller_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/test/rails_info_controller_test.rb b/railties/test/rails_info_controller_test.rb index a0484c0868..39f23fa0be 100644 --- a/railties/test/rails_info_controller_test.rb +++ b/railties/test/rails_info_controller_test.rb @@ -14,17 +14,12 @@ class InfoControllerTest < ActionController::TestCase tests Rails::InfoController def setup - ActionController::Routing.use_controllers!(['rails/info']) ActionController::Routing::Routes.draw do |map| map.connect ':controller/:action/:id' end @controller.stubs(:consider_all_requests_local => false, :local_request? => true) end - def teardown - ActionController::Routing.use_controllers! nil - end - test "info controller does not allow remote requests" do @controller.stubs(:consider_all_requests_local => false, :local_request? => false) get :properties |