Sha256: febaf9e215e0157cde1e709db12762c24bdd619a4fce7789174217f2a7c9dba6
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Sauce module TestBase # Run a block with every platform def test_each(platforms, description) platforms.each do |platform| capabilities = { :os => platform[0], :browser => platform[1], :version => platform[2], :job_name => description } capabilities.merge! platform[3] if platform[3] selenium = Sauce::Selenium2.new(capabilities) yield selenium, capabilities end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sauce-3.5.0 | lib/sauce/test_base.rb |