Sha256: 219d4fddaf1468658f23512c9520f370cebcd588d7c8ba830faaca9be1e9e23f

Contents?: true

Size: 588 Bytes

Versions: 4

Compression:

Stored size: 588 Bytes

Contents

Capybara.configure do |config|
  config.default_selector   = :css
  config.server_port        = 9886
  config.app_host           = 'http://localhost:9886'
end

Capybara.default_max_wait_time = 5

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

Capybara.javascript_driver = :poltergeist

# Stop endless errors like
# ~/.rvm/gems/ruby-1.9.2-p0@global/gems/rack-1.2.1/lib/rack/utils.rb:16:
# warning: regexp match /.../n against to UTF-8 string
# more information here: https://github.com/jnicklas/capybara/issues/243
$VERBOSE = nil

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-3.0.0 spec/support/capybara.rb
locomotivecms-3.0.0.rc7 spec/support/capybara.rb
locomotivecms-3.0.0.rc6 spec/support/capybara.rb
locomotivecms-3.0.0.rc5 spec/support/capybara.rb