fix last commit for non-js tests
This commit is contained in:
parent
042fbdc3a3
commit
e883f4cfa7
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ RSpec.configure do |config|
|
||||||
DatabaseCleaner.strategy = (example.metadata[:js] ? :truncation : :transaction)
|
DatabaseCleaner.strategy = (example.metadata[:js] ? :truncation : :transaction)
|
||||||
DatabaseCleaner.start
|
DatabaseCleaner.start
|
||||||
# maximise window so that buttons can be found on popups
|
# maximise window so that buttons can be found on popups
|
||||||
page.driver.browser.manage.window.maximize
|
example.metadata[:js] and page.driver.browser.manage.window.maximize
|
||||||
end
|
end
|
||||||
config.after(:each) do
|
config.after(:each) do
|
||||||
DatabaseCleaner.clean
|
DatabaseCleaner.clean
|
||||||
|
|
Loading…
Reference in a new issue