assert_recognizes(expected_options, path, extras={}, msg=nil)
Instance Public methods
Asserts that the routing of the given path was handled
correctly and that the parsed options (given in the
expected_options hash) match path. Basically, it
asserts that Rails recognizes the route given by
expected_options.
Pass a hash in the second argument (path) to specify the
request method. This is useful for routes requiring a specific HTTP method.
The hash should contain a :path with the inc