test/cookie.rb in cuba-3.9.2 vs test/cookie.rb in cuba-3.9.3

- old
+ new

@@ -9,13 +9,13 @@ end end env = { "SCRIPT_NAME" => "/", "PATH_INFO" => "/" } - _, headers, body = Cuba.call(env) + _, headers, body = Cuba.call(env) - assert_equal "foo=bar\nbar=baz", headers["Set-Cookie"] + assert_equal "foo=bar\nbar=baz", headers["Set-Cookie"] end test "delete cookie" do Cuba.define do on default do @@ -25,10 +25,10 @@ end end env = { "SCRIPT_NAME" => "/", "PATH_INFO" => "/" } - _, headers, body = Cuba.call(env) + _, headers, body = Cuba.call(env) - assert_equal "foo=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 -0000", - headers["Set-Cookie"] + assert_equal "foo=; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT", + headers["Set-Cookie"] end