From a539bc4a9d21b48d3d2f75d4e56db09528e7438c Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 12 Jun 2024 16:26:06 -0700 Subject: [PATCH] Improved test --- test/cookies_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cookies_test.rb b/test/cookies_test.rb index 710cb48f..a8abf6ca 100644 --- a/test/cookies_test.rb +++ b/test/cookies_test.rb @@ -49,7 +49,7 @@ def test_cookies_none_deletes_cookies def test_cookie_options with_options(cookie_options: {same_site: :lax}) do get products_url - assert_match "SameSite=Lax", set_cookie_header + assert_match /SameSite=Lax/i, set_cookie_header end end