Sha256: d38b1cef54adc359fdc968805c30ef02637ed1bf82314adac18f7da904a82983

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

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

RSpec.configure do |config|
  config.include Rack::Test::Methods, type: :requests

  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

3 entries across 3 versions & 2 rubygems

Version Path
solidus_comments-1.0.1 spec/support/capybara.rb
solidus_papertrail-1.0.0 spec/support/capybara.rb
solidus_comments-1.0.0 spec/support/capybara.rb