update gems in order to make it work with ruby 1.9.3
This commit is contained in:
parent
a7734bba84
commit
e10fb64dd6
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