Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make assert_recognizes work in IntegrationTest [#4390 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
commit 5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc 1 parent 426f93b
@matthewrudy matthewrudy authored jeremy committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/lib/rails/test_help.rb
View
4 railties/lib/rails/test_help.rb
@@ -35,7 +35,9 @@ class ActionController::TestCase
end
class ActionDispatch::IntegrationTest
- include Rails.application.routes.url_helpers
+ setup do
+ @routes = Rails.application.routes
+ end
end
begin
Please sign in to comment.
Something went wrong with that request. Please try again.