mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Clean up DatabaseCleaner usage
This commit is contained in:
parent
c6be0999b9
commit
244172a9bc
2 changed files with 1 additions and 18 deletions
|
|
@ -10,12 +10,4 @@ RSpec.configure do |config|
|
|||
config.before(:each, js: true) do
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
DatabaseCleaner.start
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue