Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Make it clear that you can also pass a full url to assert_rou…

…ting."

This reverts commit 5a6f30f.
  • Loading branch information...
commit 60df591ccaf2338f7f47de8bb28a318db2cfc397 1 parent b669353
@vijaydev vijaydev authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  actionpack/lib/action_dispatch/testing/assertions/routing.rb
View
3  actionpack/lib/action_dispatch/testing/assertions/routing.rb
@@ -37,9 +37,6 @@ module RoutingAssertions
#
# # 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)
Please sign in to comment.
Something went wrong with that request. Please try again.