update gems in order to make it work with ruby 1.9.3

This commit is contained in:
Nihad Abbasov 2011-11-16 18:57:37 +04:00
parent a7734bba84
commit e10fb64dd6
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