spec/support/solidus_braintree/capybara.rb in solidus_braintree-3.1.0 vs spec/support/solidus_braintree/capybara.rb in solidus_braintree-3.2.0
- old
+ new
@@ -2,6 +2,6 @@
config.before(:each, type: :feature, js: true) do
page.driver.browser.manage.window.resize_to(1600, 1024)
end
end
-Capybara.javascript_driver = (ENV['CAPYBARA_DRIVER'] || :selenium_chrome_headless).to_sym
+Capybara.javascript_driver = (ENV['CAPYBARA_JS_DRIVER'] || :selenium_chrome_headless).to_sym