You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Six of the specs created by the generator will fail if you use the recommended setting of secure_cookie = true. If this is something that's expected in the test environment, I think that should be covered in the readme. If not, it probably needs to be fixed.
One thing in particular I noticed was lib/clearance/configuration.rb states that secure_cookie should default to false, but it clearly defaults to nil. I'm marking this as a bug to look into further. Thank you for pointing this out.
I also ran into this issue recently. As soon as I set secure_cookie = true, my tests that rely on login don't work. I wasn't sure if it's possibly related to this. rspec/rspec-rails#1658
Six of the specs created by the generator will fail if you use the recommended setting of
secure_cookie = true
. If this is something that's expected in the test environment, I think that should be covered in the readme. If not, it probably needs to be fixed.I made an example app to demonstrate the problem:
https://github.com/philliplongman/clearance_test
The text was updated successfully, but these errors were encountered: