mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add match 302 http code for log in redirect_to
This commit is contained in:
parent
f619ac91d3
commit
9b92b1fb6d
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ class ACLogSubscriberTest < ActionController::TestCase
|
||||||
|
|
||||||
assert_equal 3, logs.size
|
assert_equal 3, logs.size
|
||||||
assert_equal "Redirected to http://foo.bar/", logs[1]
|
assert_equal "Redirected to http://foo.bar/", logs[1]
|
||||||
|
assert_match(/Completed 302/, logs.last)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_filter_redirect_url_by_string
|
def test_filter_redirect_url_by_string
|
||||||
|
|
Loading…
Reference in a new issue