mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Change database cleaner strategy to transaction, removing a 5 s per-test delay
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user