Repository navigation
Commit 67c83d0
Lower bcrypt cost in tests to speed up the suite (#27)
Set BCrypt::Engine.cost to the minimum in test_helper so fixtures and
has_secure_password digests stop hashing at the default cost (12). This
roughly halves the suite's CPU time and speeds up password-touching specs.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7ed77aa commit 67c83d0
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
0 commit comments