rails/rails — pull request #3792 by alindeman (2011-11-29 02:00:08+00:00)
Title: Allows assert_redirect_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_redirect_to`