Sha256: b7c5413b093d83bb49280f78d4b15902068be690fece0188a47a8b642a035c90

Contents?: true

Size: 431 Bytes

Versions: 13

Compression:

Stored size: 431 Bytes

Contents

require 'wist'
require 'capybara/poltergeist'
require 'pry'
begin; require 'turn/autorun'; rescue LoadError; end
Turn.config.format = :dot

class CapybaraTestCase < Test::Unit::TestCase
  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

13 entries across 13 versions & 1 rubygems

Version Path
wist-0.2.3 test/test_helper.rb
wist-0.2.2 test/test_helper.rb
wist-0.2.1 test/test_helper.rb
wist-0.2.0 test/test_helper.rb
wist-0.1.6 test/test_helper.rb
wist-0.1.5 test/test_helper.rb
wist-0.1.4 test/test_helper.rb
wist-0.1.3 test/test_helper.rb
wist-0.1.2 test/test_helper.rb
wist-0.1.1 test/test_helper.rb
wist-0.1.0 test/test_helper.rb
wist-0.0.11 test/test_helper.rb
wist-0.0.10 test/test_helper.rb