spec/spec_helper.rb in watir-webdriver-0.0.1.dev vs spec/spec_helper.rb in watir-webdriver-0.0.1.dev2

- old
+ new

@@ -8,9 +8,12 @@ require 'spec/autorun' include Watir include Watir::Exception + if defined?(WatirSpec) - WatirSpec.browser_args = [:firefox] + browser = (ENV['WATIR_WEBDRIVER_BROWSER'] || :firefox).to_sym + + WatirSpec.browser_args = [browser] WatirSpec.implementation = :webdriver end