aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-11-23 20:20:50 -0600
committerJoshua Peek <josh@joshpeek.com>2009-11-23 20:20:50 -0600
commit15ab3a98a1b6f9b829060ba974048b33466f6814 (patch)
tree17ffc94d9ddb1144e8367ccda2e3fd17d238bf8b /railties
parentf987e8561c2fdbf5f6ade34d68f66b6e7e19d8d3 (diff)
downloadrails-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.rb5
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