Displaying 1 result from an estimated 1 matches for "made_up".
Did you mean:
made_
2005 Dec 14
0
assert_generates and catch-all routes
...'', :controller => ''people'', :action =>
''default_action''
I can test this one way, with assert_recognizes.
expected_options = { :controller => ''people'', :action =>
''default_action'', :args => [''made_up''] }
assert_recognizes expected_options, ''people/made_up''
I''m wondering why I cannot test the other way, using assert_generates?
options_for_url = { :controller => ''people'' }
assert_generates ''people/default_action'', option...