Merge branch 'master' of dev.gitlabhq.com:gitlabhq

This commit is contained in:
gitlabhq 2011-11-16 11:43:27 -05:00
commit f0b86c5f1e
3 changed files with 90 additions and 111 deletions

View file

@ -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