Merge branch 'master' of dev.gitlabhq.com:gitlabhq
This commit is contained in:
commit
f0b86c5f1e
3 changed files with 90 additions and 111 deletions
|
@ -42,6 +42,7 @@ RSpec.configure do |config|
|
|||
config.before do
|
||||
if example.metadata[:js]
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
Capybara::Selenium::Driver::DEFAULT_OPTIONS[:resynchronize] = true
|
||||
else
|
||||
DatabaseCleaner.strategy = :transaction
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue