Change database cleaner strategy to transaction, removing a 5 s per-test delay

This commit is contained in:
Rohan Mitchell
2012-06-19 14:03:20 +10:00
parent f962db4288
commit b54cb00b29

View File

@@ -48,7 +48,7 @@ Spork.prefork do
config.filter_run_excluding :skip => true
config.before(:suite) do
DatabaseCleaner.strategy = :truncation, { :except => ['spree_countries', 'spree_states'] }
DatabaseCleaner.strategy = :transaction
end
config.before(:each) do