diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-03-17 16:04:41 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-03-17 16:05:29 -0500 |
commit | 13a783672aad338b9c7ade5319ec7967768905d7 (patch) | |
tree | 178fbfebf284ef25cbeeb1b5015e7a405ea91a88 /actionpack/test/dispatch/routing_test.rb | |
parent | b652aa81216f718f27ba257238d4c27dd54863b2 (diff) | |
download | rails-13a783672aad338b9c7ade5319ec7967768905d7.tar.gz rails-13a783672aad338b9c7ade5319ec7967768905d7.tar.bz2 rails-13a783672aad338b9c7ade5319ec7967768905d7.zip |
Install url helpers on module instance so they can be accessed
globally
Diffstat (limited to 'actionpack/test/dispatch/routing_test.rb')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index f5fcf9b0df..e4d83fa0a4 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -193,6 +193,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest assert_equal '/login', url_for(:controller => 'sessions', :action => 'new', :only_path => true) assert_equal 'http://rubyonrails.org/login', Routes.url_for(:controller => 'sessions', :action => 'create') + assert_equal 'http://rubyonrails.org/login', Routes.url_helpers.login_url end end |