Sha256: faf7d07266e0ad75815bfff7b06825b46da95f689b759de02e3a84ad01e0b4fb
Contents?: true
Size: 716 Bytes
Versions: 5
Compression:
Stored size: 716 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 if ENV['ALWAYS_LOCATE'] == "false" Watir.always_locate = false end WEBDRIVER_SELECTORS = [:class, :class_name, :css, :id, :name, :tag_name, :xpath] if ENV['TRAVIS'] ENV['DISPLAY'] = ":99.0" end if Selenium::WebDriver::Platform.linux? && ENV['DISPLAY'].nil? raise "DISPLAY not set" end
Version data entries
5 entries across 5 versions & 1 rubygems