aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-02-25 17:51:56 -0800
committerCarlhuda <carlhuda@engineyard.com>2010-02-25 17:53:30 -0800
commit8760add31a0415b4635059cf7fadabc26946c0c2 (patch)
treef8f9466fad7ab23b9a3321c7d5adcad7f7421124 /railties/lib
parentfc4582fb6684ce72f5628629ea7d061659b790f8 (diff)
downloadrails-8760add31a0415b4635059cf7fadabc26946c0c2.tar.gz
rails-8760add31a0415b4635059cf7fadabc26946c0c2.tar.bz2
rails-8760add31a0415b4635059cf7fadabc26946c0c2.zip
Get URL helpers working again in integration tests.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/test_help.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb
index dbb1b76b95..5b5ce1dd7b 100644
--- a/railties/lib/rails/test_help.rb
+++ b/railties/lib/rails/test_help.rb
@@ -30,6 +30,10 @@ class ActionController::TestCase
end
end
+class ActionDispatch::IntegrationTest
+ include Rails.application.routes.named_url_helpers
+end
+
begin
require_library_or_gem 'ruby-debug'
Debugger.start