specs for Gitlab::Popen
This commit is contained in:
parent
9c252a60c1
commit
2c5e4955c0
2 changed files with 35 additions and 2 deletions
|
@ -9,10 +9,14 @@ RSpec.configure do |config|
|
|||
DatabaseCleaner.strategy = :transaction
|
||||
end
|
||||
|
||||
DatabaseCleaner.start
|
||||
unless example.metadata[:no_db]
|
||||
DatabaseCleaner.start
|
||||
end
|
||||
end
|
||||
|
||||
config.after do
|
||||
DatabaseCleaner.clean
|
||||
unless example.metadata[:no_db]
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue