rack-tracker icon indicating copy to clipboard operation
rack-tracker copied to clipboard

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

Open r7kamura opened this issue 6 months ago • 0 comments

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.

r7kamura avatar Oct 09 '25 02:10 r7kamura