Skip to content

Commit 0262a15

Browse files
committed
Fix samesite cookie spec
1 parent 850f0ea commit 0262a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/cookies_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Ferrum
3030
value: "omg",
3131
path: "/ferrum",
3232
httponly: true,
33-
samesite: "None"
33+
samesite: "Strict"
3434
)
3535

3636
browser.go_to("/get_cookie")
@@ -41,7 +41,7 @@ module Ferrum
4141

4242
expect(browser.cookies["stealth"].path).to eq("/ferrum")
4343
expect(browser.cookies["stealth"].httponly?).to be_truthy
44-
expect(browser.cookies["stealth"].samesite).to eq("None")
44+
expect(browser.cookies["stealth"].samesite).to eq("Strict")
4545
end
4646

4747
it "can remove a cookie" do

0 commit comments

Comments
 (0)