diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-02 15:30:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-02 16:41:50 -0700 |
commit | 9047c9809deeb1aaa3735472287265720e5cd37f (patch) | |
tree | bc368af92c196e0179324757fa82af96171a86b2 /actionpack | |
parent | 72160d9f89481ea60c8268ff026099f07b1e5ed6 (diff) | |
download | rails-9047c9809deeb1aaa3735472287265720e5cd37f.tar.gz rails-9047c9809deeb1aaa3735472287265720e5cd37f.tar.bz2 rails-9047c9809deeb1aaa3735472287265720e5cd37f.zip |
Fix implicit ordering expectation
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/test_request_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/test_request_test.rb b/actionpack/test/dispatch/test_request_test.rb index 19b5e2988b..5da02b2ea6 100644 --- a/actionpack/test/dispatch/test_request_test.rb +++ b/actionpack/test/dispatch/test_request_test.rb @@ -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 |