diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-07-21 21:16:49 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-07-21 21:16:49 +0530 |
commit | 60df591ccaf2338f7f47de8bb28a318db2cfc397 (patch) | |
tree | 588db3d3f27176b78bfb60d4e0da003d81ac961e /actionpack/lib | |
parent | b6693532e90bc95b2d5a4ad0a87a1339ed3758bc (diff) | |
download | rails-60df591ccaf2338f7f47de8bb28a318db2cfc397.tar.gz rails-60df591ccaf2338f7f47de8bb28a318db2cfc397.tar.bz2 rails-60df591ccaf2338f7f47de8bb28a318db2cfc397.zip |
Revert "Make it clear that you can also pass a full url to assert_routing."
This reverts commit 5a6f30ff0f11f6d685d2601a60700784e3555b8b.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 2e971cffe1..9de545b3c5 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -37,9 +37,6 @@ module ActionDispatch # # # Test a custom route # assert_recognizes({:controller => 'items', :action => 'show', :id => '1'}, 'view/item1') - # - # # Path can be a full url (with ://) to test routing based on constrains such as subdomain or host - # assert_routing 'http://api.example.com/', :controller => 'api', :action => 'index' def assert_recognizes(expected_options, path, extras={}, message=nil) request = recognized_request_for(path, extras) |