diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-24 16:47:43 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-25 17:53:01 -0800 |
commit | 9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c (patch) | |
tree | c7d616f34a1f4f90982aac6e7561a117b3429026 /railties/test | |
parent | 1fb2c6f63527408c8dbb00d6483ee6cf677db2df (diff) | |
download | rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.tar.gz rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.tar.bz2 rails-9a5be2e5a80ab9e74294f32cfef58fbbcd9b637c.zip |
Get Railties tests passing
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/rails_info_controller_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/rails_info_controller_test.rb b/railties/test/rails_info_controller_test.rb index a6fc23d95b..017e51326c 100644 --- a/railties/test/rails_info_controller_test.rb +++ b/railties/test/rails_info_controller_test.rb @@ -18,6 +18,9 @@ class InfoControllerTest < ActionController::TestCase match ':controller/:action' end @controller.stubs(:consider_all_requests_local? => false, :local_request? => true) + @router = Rails.application.routes + + Rails::InfoController.send(:include, @router.named_url_helpers) end test "info controller does not allow remote requests" do |