Flowdock
method

assert_routing

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActionController::Assertions::RoutingAssertions
assert_routing(path, options, defaults={}, extras={}, message=nil) public

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. This essentially combines assert_recognizes and assert_generates into one step.

Show source
Register or log in to add new notes.