3 ms·
Yeah, it's pretty easy to change this in Devise, a popular auth library for rails that uses bcrypt by default, and to have a custom value to speed up unit tests
by benatkin 15y ago
Yeah, it's pretty easy to change this in Devise, a popular auth library for rails that uses bcrypt by default, and to have a custom value to speed up unit tests: https://github.com/plataformatec/devise/wiki/Speed-up-your-unit-tests https://github.com/plataformatec/devise/wiki/Speed-up-your-u...
config.stretches = Rails.env.test? ? 1 : 10