From 3a38e169b59ef9d77cafa74674a1384ae0ad02ed Mon Sep 17 00:00:00 2001 From: Jared White Date: Sun, 7 Apr 2024 14:27:35 -0700 Subject: [PATCH] Fix test with cookies --- bridgetown-core/test/ssr/server/routes/cookies.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/bridgetown-core/test/ssr/server/routes/cookies.rb b/bridgetown-core/test/ssr/server/routes/cookies.rb index 9da5d964c..e3a3d3657 100644 --- a/bridgetown-core/test/ssr/server/routes/cookies.rb +++ b/bridgetown-core/test/ssr/server/routes/cookies.rb @@ -12,6 +12,7 @@ class Routes::Cookies < Bridgetown::Rack::Routes response.set_cookie :test_key, { value: r.params[:value], httponly: true, + secure: false, # default is true, so we have to turn this off for tests } { value: r.cookies[:test_key] }