Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't use env variable - check watir version

  • Loading branch information...
commit 67dd71323babec6b1c6b510522235224cce335bc 1 parent 0fb81dc
Hugh McGowan hmcgowan authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  spec/implementation.rb
3  spec/implementation.rb
View
@@ -6,7 +6,6 @@
WatirSpec.implementation do |imp|
imp.name = :watir
-
if ENV['watir_browser'] =~ /firefox/
imp.browser_class = FireWatir::Firefox
browser = :firefox
@@ -14,7 +13,7 @@
WatirSpec.persistent_browser = false
imp.browser_class = Watir::IE
browser = :ie
- browser_version = (ENV['watir_browser_version'] || :ie8).to_sym
+ browser_version = "ie#{imp.browser_class.version.to_i}".to_sym
end
imp.guard_proc = lambda { |args|
Please sign in to comment.
Something went wrong with that request. Please try again.