rails/rails — pull request #6135 by alindeman (2012-05-03 02:35:26+00:00)
Title: Allows assert_redirected_to to accept a regular expression

I have a few places where I really only care to assert that the URL matches a regular expression.

This patch allows it while keeping the semantics the same when a `String` or `Hash` is passed to `assert_redirected_to`