Hash fixture passwords at minimum bcrypt cost

The fixture calls BCrypt directly, bypassing Rails' test configuration.
This commit is contained in:
Edward Tippett committed 2026-09-29 09:53:39 +07:00
1 parent 90b330024d
commit ae149fca92
1 file changed
+1 -1
+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