Skip to content

Fix invalid dummy secret length for Rack::Session::Cookie in tests#171

Open
r7kamura wants to merge 1 commit intorailslove:masterfrom
r7kamura:rack-session-cookie-secret-length-fix
Open

Fix invalid dummy secret length for Rack::Session::Cookie in tests#171
r7kamura wants to merge 1 commit intorailslove:masterfrom
r7kamura:rack-session-cookie-secret-length-fix

Conversation

@r7kamura
Copy link
Copy Markdown

@r7kamura r7kamura commented Oct 9, 2025

This addresses an issue where some tests fail when using the recent rack-session gem.

In recent versions of Rack::Session::Cookie, passing a secret shorter than 64 characters raises an ArgumentError. Therefore, I replaced the dummy value used in the tests with a suitable 64-character string.

I ran this library’s test suite on Ruby 3.4 and confirmed that the test cases which had previously been failing now pass as a result of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant