method

assert_recognizes

assert_recognizes(expected_options, path, extras={}, message=nil)
public

Asserts that the routing of the given path was handled correctly and that the parsed options match.