Skip to content

Commit

Permalink
Improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jun 12, 2024
1 parent 0555891 commit a539bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cookies_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a539bc4

Please sign in to comment.