Sha256: 91606a94cd9d03c6d77cd98e84f0bf483b942cd05c11e2cc5958b3968321369b

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

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

RSpec.configure do
  Capybara.javascript_driver = :poltergeist

  Capybara.register_driver(:poltergeist) do |app|
    Capybara::Poltergeist::Driver.new app, js_errors: true, timeout: 60
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-0.2.1 spec/support/capybara.rb
solidus_volume_pricing-0.1.1 spec/support/capybara.rb
solidus_volume_pricing-0.2.0 spec/support/capybara.rb
solidus_volume_pricing-0.1.0 spec/support/capybara.rb