changed database cleaning strategy
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
require 'database_cleaner'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.before(:suite) do
|
||||
DatabaseCleaner.strategy = :transaction
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
DatabaseCleaner.clean_with(:truncation)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user