Hash fixture passwords at minimum bcrypt cost

The fixture calls BCrypt directly, bypassing Rails' test configuration.
This commit is contained in:
Edward Tippett
2026-09-22 23:05:28 +07:00
parent 90b330024d
commit ae149fca92
+1 -1
View File
@@ -1,4 +1,4 @@
<% password_digest = BCrypt::Password.create("secret123456") %>
<% password_digest = BCrypt::Password.create("secret123456", cost: BCrypt::Engine::MIN_COST) %>
david:
name: David