1
0
Fork 0
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:
Jeremy Kemper 2009-05-02 15:30:00 -07:00
parent 186fee48c7
commit 1c6fcbfd2d

View file

@ -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