scube-server/spec/support/decrease_bcrypt_cost_factor.rb
Thibault Jouan f49a5a3f67 Update to rails 3.1.0
* Bump rails version to 3.1.0 in Gemfile
* Update config files
* Fix bcrypt monkey patch for specs
* Fix TracksController
* Replace track streaming with track download
* Remove assets from application layout
2011-09-15 16:10:21 +00:00

9 lines
124 B
Ruby

require 'bcrypt'
module BCrypt
class Engine
remove_const :DEFAULT_COST
const_set :DEFAULT_COST, 4
end
end