Sha256: e9388226d06c50ccf2cd72d1e4fceb0a9349423f4b615c749f3d55d60e699c80

Contents?: true

Size: 982 Bytes

Versions: 19

Compression:

Stored size: 982 Bytes

Contents

require 'minitest/autorun'
require 'minitest/reporters'
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

require 'active_support/core_ext/kernel/reporting'

Dir['test/support/**/*.rb'].each do |file|
  # strip ^test/ and .rb$
  file = file[5..-4]
  require_relative File.join('.', file)
end

GEM_PATH = File.expand_path('../', File.dirname(__FILE__))

#= Capybara + Poltergeist
require 'capybara/poltergeist'

Capybara.register_driver :poltergeist do |app|
  Capybara::Poltergeist::Driver.new(
      app,
      # inspector:   '/Applications/Chromium.app/Contents/MacOS/Chromium', # open in inspector: page.driver.debug
      window_size: [1280, 1024],
      timeout:     90,
      js_errors:   true
  )
end

Capybara.configure do |config|
  config.app_host              = 'http://localhost:7000'
  config.default_driver        = :poltergeist
  config.javascript_driver     = :poltergeist
  config.server_port           = 7000
  config.default_max_wait_time = 10
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
tabler-rubygem-0.1.4 test/test_helper.rb
tabler-rubygem-0.1.3 test/test_helper.rb
loremGem-0.2.0 test/test_helper.rb
tabler-rubygem-0.1.2 test/test_helper.rb
bootstrap-4.1.1 test/test_helper.rb
bootstrap-4.1.0 test/test_helper.rb
tabler-rubygem-0.1.1 test/test_helper.rb
bootstrap-4.0.0 test/test_helper.rb
bootstrap-4.0.0.beta3 test/test_helper.rb
bootstrap-4.0.0.beta2.1 test/test_helper.rb
bootstrap-4.0.0.beta2 test/test_helper.rb
bootstrap-4.0.0.beta test/test_helper.rb
bootstrap-4.0.0.alpha6 test/test_helper.rb
bootstrap-4.0.0.alpha5 test/test_helper.rb
bootstrap-4.0.0.alpha4 test/test_helper.rb
bootstrap-4.0.0.alpha3.1 test/test_helper.rb
bootstrap-4.0.0.alpha3 test/test_helper.rb
bootstrap-4.0.0.alpha2 test/test_helper.rb
bootstrap-4.0.0.alpha1 test/test_helper.rb