diff options
author | Matthew Rudy Jacobs <matthewrudyjacobs@gmail.com> | 2010-04-24 19:15:14 -0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-24 15:42:55 -0700 |
commit | 5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc (patch) | |
tree | 354822bd161a9415fa8db89357bf08e5b97f1168 | |
parent | 426f93b7510630308a8a9594836b3c4a84aedcce (diff) | |
download | rails-5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc.tar.gz rails-5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc.tar.bz2 rails-5c9d23f870bc59a42a2c5994f4e6b11d3e4e5bdc.zip |
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>
-rw-r--r-- | railties/lib/rails/test_help.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 |