mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix implicit ordering expectation
This commit is contained in:
parent
72160d9f89
commit
9047c9809d
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ class TestRequestTest < ActiveSupport::TestCase
|
|||
|
||||
req.cookies["login"] = "XJ-122"
|
||||
assert_equal({"user_name" => "david", "login" => "XJ-122"}, req.cookies)
|
||||
assert_equal "login=XJ-122; user_name=david;", req.env["HTTP_COOKIE"]
|
||||
assert_equal %w(login=XJ-122 user_name=david), req.env["HTTP_COOKIE"].split(/; ?/).sort
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue