assert_routing(path, options, defaults={}, extras={}, message=nil)
Instance Public methods
Asserts that path and options match both ways; in other words, it verifies
that path generates options and then that
options generates path. This essentially combines
assert_recognizes and assert_generates into one
step.
The extras hash allows you to specify options that would
normally be provided as a query string to the action. The
message parameter allows you to specify a custom error mess