This project is archived and is in readonly mode.
Changeset [e53f5fe696d692f1985981c34bb311e898fe3c72] by Michael Koziarski
Revision e53f5fe696d692f1985981c34bb311e898fe3c72,
committed by Michael Koziarski
· July 12th, 2008 @ 10:42 AM
Restore support for partial matches in assert_redirected_to
If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection.
2 changed files
-
M
actionpack/lib/action_controller/assertions/response_assertions.rb -
M
actionpack/test/controller/redirect_test.rb