Sha256: e295d4398314e22af36d040c266717bff605bbc59814f7700250f34316a36c07

Contents?: true

Size: 386 Bytes

Versions: 11

Compression:

Stored size: 386 Bytes

Contents

# This file causes capybara to use the phantomjs browser, which is fully
# compatible with ajax
require 'capybara/poltergeist'

# Register driver and tell it not to print javascript
Capybara.register_driver :poltergeist do |app|
  Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: 90)
end

Capybara.default_driver = :poltergeist
Capybara.javascript_driver = :poltergeist

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sufia-5.0.0 spec/support/poltergeist.rb
sufia-6.0.0 spec/support/poltergeist.rb
sufia-6.0.0.rc4 spec/support/poltergeist.rb
sufia-6.0.0.rc3 spec/support/poltergeist.rb
sufia-5.0.0.rc1 spec/support/poltergeist.rb
sufia-6.0.0.rc2 spec/support/poltergeist.rb
sufia-6.0.0.rc1 spec/support/poltergeist.rb
sufia-4.3.1 spec/support/poltergeist.rb
sufia-6.0.0.beta1 spec/support/poltergeist.rb
sufia-4.2.0 spec/support/poltergeist.rb
sufia-4.1.0 spec/support/poltergeist.rb