* Use in memory sqlite database for test environment * Monkey patch BCrypt default cost factor * Clean spec/spec_helper.rb
9 lines
143 B
Ruby
9 lines
143 B
Ruby
module BCrypt
|
|
class Engine
|
|
[:DEFAULT_COST, :MIN_COST].each do |sym|
|
|
remove_const sym
|
|
const_set sym, 1
|
|
end
|
|
end
|
|
end
|