Skip to content
This repository
Browse code

Fix implicit ordering expectation

  • Loading branch information...
commit 1c6fcbfd2d67ce2b2faa29d956566b48e9a61188 1 parent 186fee4
Jeremy Kemper jeremy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/test/dispatch/test_request_test.rb
2  actionpack/test/dispatch/test_request_test.rb
@@ -40,6 +40,6 @@ class TestRequestTest < ActiveSupport::TestCase
40 40
41 41 req.cookies["login"] = "XJ-122"
42 42 assert_equal({"user_name" => "david", "login" => "XJ-122"}, req.cookies)
43   - assert_equal "login=XJ-122; user_name=david;", req.env["HTTP_COOKIE"]
  43 + assert_equal %w(login=XJ-122 user_name=david), req.env["HTTP_COOKIE"].split(/; ?/).sort
44 44 end
45 45 end

0 comments on commit 1c6fcbf

Please sign in to comment.
Something went wrong with that request. Please try again.