Skip to content

Commit

Permalink
Fix test with cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Apr 7, 2024
1 parent 800481a commit 3a38e16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridgetown-core/test/ssr/server/routes/cookies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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] }
Expand Down

0 comments on commit 3a38e16

Please sign in to comment.