Sha256: 805f61460153631bbed37e324992ca255669c8e6376fa1f524e4d360820aa612
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Sauce class TestGroup def initialize(platforms) @platforms = platforms @index = 0 end def next_platform platform = @platforms[@index] begin @index = @index + 1 { :SAUCE_OS => "'#{platform[0]}'", :SAUCE_BROWSER => "'#{platform[1]}'", :SAUCE_BROWSER_VERSION => "'#{platform[2]}'" } rescue NoMethodError => e puts "I don't have any config" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sauce-3.0.0.beta.2 | lib/sauce/parallel/test_group.rb |