Sha256: 99c1b7560d6fe83d4cee2b4d161a5e63f5f5763dbcac5eb31979033bc8aac085
Contents?: true
Size: 609 Bytes
Versions: 22
Compression:
Stored size: 609 Bytes
Contents
require File.expand_path("../helper", __FILE__) class TestConnect < Test::Unit::TestCase def test_running_when_ready connect = Sauce::Connect.new(:host => "saucelabs.com", :port => 80) assert_equal "uninitialized", connect.status connect.wait_until_ready assert_equal "running", connect.status connect.disconnect end def test_error_flag connect = Sauce::Connect.new(:host => "saucelabs.com", :port => 80, :username => 'fail') start = Time.now while Time.now-start < 20 && !connect.error sleep 1 end assert connect.error connect.disconnect end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
sauce-0.15.0.alpha.2 | test/test_connect.rb |
sauce-0.15.0.alpha.1 | test/test_connect.rb |