Sha256: 44b5918dbe7c4a665d962e378b026685661b818760d9cc14c8f8dba419e313de

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
wist-0.2.4 test/test_helper.rb