Permalink
Browse files

Fix implicit ordering expectation

  • Loading branch information...
1 parent 186fee4 commit 1c6fcbfd2d67ce2b2faa29d956566b48e9a61188 @jeremy jeremy committed May 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/test_request_test.rb
View
2 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

0 comments on commit 1c6fcbf

Please sign in to comment.