Sha256: b4876f2e2d0f05102ebc307c715f3386cf4c4d73a98ed741a95acaa609c8437e

Contents?: true

Size: 526 Bytes

Versions: 203

Compression:

Stored size: 526 Bytes

Contents

require 'spec/expectations'

if ENV['FIREWATIR']
  require 'firewatir'
  Browser = FireWatir::Firefox
else
  case RUBY_PLATFORM
  when /darwin/
    require 'safariwatir'
    Browser = Watir::Safari
  when /win32|mingw/
    require 'watir'
    Browser = Watir::IE
  when /java/
    require 'celerity'
    Browser = Celerity::Browser
  else
    raise "This platform is not supported (#{PLATFORM})"
  end
end

# "before all"
browser = Browser.new

Before do
  @browser = browser
end

# "after all"
at_exit do
  browser.close
end

Version data entries

203 entries across 203 versions & 16 rubygems

Version Path
squirrel-cucumber-0.3.12 examples/watir/features/support/env.rb
cucumber-0.7.0.beta.4 examples/watir/features/support/env.rb
cucumber-0.7.0.beta.3 examples/watir/features/support/env.rb
cucumber-0.7.0.beta.2 examples/watir/features/support/env.rb
cucumber-0.7.0.beta.1 examples/watir/features/support/env.rb
cucumber-0.6.4 examples/watir/features/support/env.rb
cucumber-0.6.3 examples/watir/features/support/env.rb
davidtrogers-cucumber-0.6.2 examples/watir/features/support/env.rb
cucumber-0.6.2 examples/watir/features/support/env.rb
cucumber-0.6.1 examples/watir/features/support/env.rb
cucumber-0.6.0 examples/watir/features/support/env.rb
cucumber-0.5.3 examples/watir/features/support/env.rb
cucumber-0.5.2 examples/watir/features/support/env.rb
cucumber-0.5.1 examples/watir/features/support/env.rb
cucumber-0.5.0 examples/watir/features/support/env.rb
cucumber-0.4.5.rc2 examples/watir/features/support/env.rb
kbaum-cucumber-0.4.5.pre examples/watir/features/support/env.rb
cucumber-0.4.5.rc1 examples/watir/features/support/env.rb
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/examples/watir/features/support/env.rb
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/examples/watir/features/support/env.rb