Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-11-16 18:57:37 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2011-11-16 18:57:37 +0400
commite10fb64dd6092cc4d8f1d2feb24bbc64d5ed27de (patch)
treec7d14ac8905a1d58c918dfaacf210774360a81da /spec/spec_helper.rb
parenta7734bba845e1079f7859f95f10be2c5b65cfded (diff)
update gems in order to make it work with ruby 1.9.3
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index aa7f23d80ce..05fd6ca7d9a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -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