From 26d6c868b5b4c33dbe90e9a673e16fd836644a96 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 8 Jan 2019 20:26:02 +0200 Subject: [PATCH] Specify Capybara javscript driver until we upgrade --- spec/support/capybara.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 3c0cb09..89af46b 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -2,12 +2,13 @@ Capybara.default_max_wait_time = 5 Capybara.asset_host = 'http://localhost:3000' Capybara.server = :puma, { Silent: true } +Capybara.javascript_driver = :selenium_chrome_headless -RSpec.configure do |config| - # config.before(:each, type: :feature, js: true) do - # driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080] - # end -end +# RSpec.configure do |config| +# config.before(:each, type: :feature, js: true) do +# driven_by :selenium, using: :headless_chrome, screen_size: [1920, 1080] +# end +# end RSpec.configure do |config| config.include FeatureHelpers, type: :feature