Optimize execution duration for rspec specs

* Use in memory sqlite database for test environment
* Monkey patch BCrypt default cost factor
* Clean spec/spec_helper.rb
This commit is contained in:
Thibault Jouan
2011-08-31 10:53:49 +00:00
parent 47b4f7ac83
commit 7187266982
4 changed files with 17 additions and 18 deletions

View File

@@ -48,3 +48,5 @@ end
# DatabaseCleaner.strategy = :transaction
# end
#
load "#{Rails.root.to_s}/db/schema.rb"