Sha256: 452c966c431b1b540c224180ead8ebc206ee2530d6b2a6d0b7c68df7f0aec74f

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

require 'wist'
require 'capybara/poltergeist'
require 'pry'
require "minitest/autorun"
require "minitest/reporters"
Minitest::Reporters.use!(Minitest::Reporters::SpecReporter.new)

class CapybaraTestCase < Minitest::Test
  include Capybara::DSL
  include Wist

  def setup
    Capybara.javascript_driver = ENV['BROWSER'].to_sym if ENV['BROWSER']
    Capybara.current_driver    = Capybara.javascript_driver
  end

  def teardown
    Capybara.reset_sessions!
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wist-0.4.1 test/test_helper.rb
wist-0.4.0 test/test_helper.rb
wist-0.3.1 test/test_helper.rb
wist-0.3.0 test/test_helper.rb
wist-0.2.7 test/test_helper.rb
wist-0.2.6 test/test_helper.rb
wist-0.2.5 test/test_helper.rb