Skip to content
Browse files

Missed a few spots in railties

  • Loading branch information...
1 parent cdf8c35 commit 53e16d8011fa2b356595775fbd93c9e3210b4b8a @josh josh committed Mar 30, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 railties/lib/rails/test_help.rb
  2. +2 −2 railties/test/rails_info_controller_test.rb
View
2 railties/lib/rails/test_help.rb
@@ -30,7 +30,7 @@ def create_fixtures(*table_names, &block)
class ActionController::TestCase
setup do
- @router = Rails.application.routes
+ @routes = Rails.application.routes
end
end
View
4 railties/test/rails_info_controller_test.rb
@@ -15,9 +15,9 @@ def setup
match '/rails/info/properties' => "rails/info#properties"
end
@controller.stubs(:consider_all_requests_local? => false, :local_request? => true)
- @router = Rails.application.routes
+ @routes = Rails.application.routes
- Rails::InfoController.send(:include, @router.url_helpers)
+ Rails::InfoController.send(:include, @routes.url_helpers)
end
test "info controller does not allow remote requests" do

0 comments on commit 53e16d8

Please sign in to comment.
Something went wrong with that request. Please try again.