spec/spec_helper.rb in watir-webdriver-0.7.0 vs spec/spec_helper.rb in watir-webdriver-0.8.0
- old
+ new
@@ -1,6 +1,5 @@
-# encoding: utf-8
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'coveralls'
Coveralls.wear!
@@ -18,10 +17,10 @@
if ENV['PREFER_CSS']
Watir.prefer_css = true
end
-WEBDRIVER_SELECTORS = [:class, :class_name, :css, :id, :tag_name, :xpath]
+WEBDRIVER_SELECTORS = %i(class class_name css id tag_name xpath)
if ENV['TRAVIS']
ENV['DISPLAY'] = ":99.0"
if ENV['WATIR_WEBDRIVER_BROWSER'] == "chrome"