diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-02-25 16:48:36 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-02-25 17:53:29 -0800 |
commit | fc4582fb6684ce72f5628629ea7d061659b790f8 (patch) | |
tree | 7d49d64d8ad3e7c91009e2b9804db9f7ed652177 /railties/lib | |
parent | 36fd9efb5e4bfc9ac3acd4189d4dc457dea8102a (diff) | |
download | rails-fc4582fb6684ce72f5628629ea7d061659b790f8.tar.gz rails-fc4582fb6684ce72f5628629ea7d061659b790f8.tar.bz2 rails-fc4582fb6684ce72f5628629ea7d061659b790f8.zip |
Final pass at removing the router from a global constant
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/test_help.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index f9aa018cab..dbb1b76b95 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -24,6 +24,12 @@ if defined?(ActiveRecord) end end +class ActionController::TestCase + setup do + @router = Rails.application.routes + end +end + begin require_library_or_gem 'ruby-debug' Debugger.start |