Sha256: 810b884c278f04a00ca1a17e317d8dd8bacfa453dc963316d19324dc491e39eb

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

require 'capybara/rspec'
require 'capybara/rails'
require 'capybara/poltergeist'

RSpec.configure do |config|
  Capybara.javascript_driver = :poltergeist

  config.before(:each, :js) do
    if Capybara.javascript_driver == :selenium
      page.driver.browser.manage.window.maximize
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-faq-2.4.0 spec/support/capybara.rb
spree-faq-2.3.0 spec/support/capybara.rb
spree-faq-2.2.1 spec/support/capybara.rb
spree-faq-2.1.1 spec/support/capybara.rb
spree-faq-2.0.1 spec/support/capybara.rb
spree-last-address-2.2.1 spec/support/capybara.rb