method

assert_recognizes

rails latest stable - Class: Test::Unit::Assertions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.1.6) is shown here.

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.