mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Update deprecated method
This commit is contained in:
parent
609b14c360
commit
271dd64515
@ -53,12 +53,12 @@ RSpec.configure do |config|
|
|||||||
end
|
end
|
||||||
|
|
||||||
config.before(:each) do
|
config.before(:each) do
|
||||||
Capybara.default_wait_time = 2
|
Capybara.default_max_wait_time = 2
|
||||||
DatabaseCleaner.strategy = :transaction
|
DatabaseCleaner.strategy = :transaction
|
||||||
end
|
end
|
||||||
|
|
||||||
config.before(:each, js: true) do
|
config.before(:each, js: true) do
|
||||||
Capybara.default_wait_time = 10
|
Capybara.default_max_wait_time = 10
|
||||||
DatabaseCleaner.strategy = :deletion
|
DatabaseCleaner.strategy = :deletion
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user