test/test_sauce.rb in sauce-0.2.0 vs test/test_sauce.rb in sauce-0.2.1

- old
+ new

@@ -63,9 +63,18 @@ retries += 1 tunnel.refresh! end assert_equal true, tunnel.says_hello? + + tunnel.destroy # cleanup + end + + should "not attempt to telnet if status is not running" do + tunnel = @client.tunnels.create('DomainNames' => [@ip]) + + tunnel.status = "booting" + assert_equal false, tunnel.says_hello? end def teardown @client.tunnels.destroy end