1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Update deprecated method

This commit is contained in:
Daniel Barber 2015-09-16 21:19:18 +01:00
parent 609b14c360
commit 271dd64515

View File

@ -53,12 +53,12 @@ RSpec.configure do |config|
end
config.before(:each) do
Capybara.default_wait_time = 2
Capybara.default_max_wait_time = 2
DatabaseCleaner.strategy = :transaction
end
config.before(:each, js: true) do
Capybara.default_wait_time = 10
Capybara.default_max_wait_time = 10
DatabaseCleaner.strategy = :deletion
end