Asserts that path and options match both ways; in other words, the URL
generated from options is the same as path, and also that the options
recognized from path are the same as options
# File actionpack/lib/action_controller/assertions.rb, line 165
def assert_routing(path, options, defaults={}, extras={}, message=nil)
assert_recognizes(options, path, extras, message)
controller, default_controller = options[:controller], defaults[:controller]
if controller && controller.include?(?/) && default_controller && default_controller.include?(?/)
options[:controller] = "/#{controller}"
end
assert_generates(path, options, defaults, extras, message)
end