From 5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc Mon Sep 17 00:00:00 2001 From: Matthew Rudy Jacobs Date: Sat, 24 Apr 2010 19:15:14 -0300 Subject: Make assert_recognizes work in IntegrationTest [#4390 state:committed] Signed-off-by: Santiago Pastorino Signed-off-by: Jeremy Kemper --- railties/lib/rails/test_help.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'railties/lib/rails') diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index 3ce4e2c780..ec5e4a357c 100644 --- a/railties/lib/rails/test_help.rb +++ b/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 -- cgit v1.2.3