Sha256: 28b86dfc04bb8357f0fbe69927f068a6dd0633b1faecee743a91f2dcbed6e321

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require 'capybara/rspec'
require 'capybara/rails'
require 'capybara/poltergeist'
require 'capybara-screenshot/rspec'

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

1 entries across 1 versions & 1 rubygems

Version Path
solidus_log_viewer-1.0.0 spec/support/capybara.rb