diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-02 15:30:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-02 15:30:00 -0700 |
commit | 1c6fcbfd2d67ce2b2faa29d956566b48e9a61188 (patch) | |
tree | 2f0b53c61c074a7750e5fa154eb78b712937bc1e | |
parent | 186fee48c796b104b76ef69decb32ef396f435db (diff) | |
download | rails-1c6fcbfd2d67ce2b2faa29d956566b48e9a61188.tar.gz rails-1c6fcbfd2d67ce2b2faa29d956566b48e9a61188.tar.bz2 rails-1c6fcbfd2d67ce2b2faa29d956566b48e9a61188.zip |
Fix implicit ordering expectation
-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 |