Sha256: 704eeff32a71bff90a713356a020a2d41217de64f25d83b6e9224fdf8d63a9a8
Contents?: true
Size: 657 Bytes
Versions: 2
Compression:
Stored size: 657 Bytes
Contents
# encoding: utf-8 $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if ENV['coverage'] raise "simplecov only works on Ruby 1.9" unless RUBY_VERSION =~ /^1\.9/ require 'simplecov' SimpleCov.start { add_filter "spec/" } end require 'watir-webdriver' require 'locator_spec_helper' require 'rubygems' require 'rspec' include Watir include Watir::Exception WEBDRIVER_SELECTORS = [:class, :class_name, :css, :id, :name, :tag_name, :xpath] if ENV['TRAVIS'] require 'headless' display = Headless.new display.start pid = Process.pid at_exit { display.stop if Process.pid == pid } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
watir-webdriver-0.3.4 | spec/spec_helper.rb |
watir-webdriver-0.3.3 | spec/spec_helper.rb |