Displaying 1 result from an estimated 1 matches for "assert_rounting".
2006 May 17
0
Strang Behavior when testing Routes
...est.env[''PATH_INFO''] = url
post(:download, opts)
assert_response(:redirect)
assert_template(nil)
end
[/code]
The test passes without failure! However, if I comment out the
assert_generates
and the assert_recognizes, the test fails. I was under the impression
that assert_rounting is just a wrapper around assert_generates and
assert_recognizes so I''m totally confused by this. Any insight from
others would be greatly appreciated.
--
Posted via http://www.ruby-forum.com/.