search for: asserts_redirect_to

Displaying 1 result from an estimated 1 matches for "asserts_redirect_to".

2006 May 09
1
name_url in tests
Hi there, I posted earlier asking about testing named routes in functional tests, but got no response, so I''m making my question less specific. It seems from the docs that it''s possible to to test named routes in cases such as: asserts_redirect_to name_url(:param => "whatever") but I haven''t seen any mention of it being used with any other tests and I keep getting an error when I try and use it in assert_recognizes (see below). Is there anything in particular I have to do to get the _url functionality imported into my...