Merge branch 'installs_database_cleaner' into user_model_tests
This commit is contained in:
commit
a0d539bc3b
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ RSpec.configure do |config|
|
||||||
DatabaseCleaner.strategy = :transaction
|
DatabaseCleaner.strategy = :transaction
|
||||||
end
|
end
|
||||||
|
|
||||||
config.before(:each, :js => true) do
|
config.before(:each, js: true) do
|
||||||
DatabaseCleaner.strategy = :truncation
|
DatabaseCleaner.strategy = :truncation
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue