Sha256: 41ca886b35942e417c0dc04d1aaab02f6b54465573c8e32b03683cf4992e07fe
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper' class ExecTest < Test::Unit::TestCase def test_should_exec using 'astrovan.local', :password => ENV['PASSWORD'] do exec 'hostname' end end def test_should_fail_to_exec assert_raise RuntimeError do using 'astrovan.local', :password => ENV['PASSWORD'] do exec 'kjasdhfkjahsdf' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sbfaulkner-astrovan-0.5.8 | test/exec_test.rb |
sbfaulkner-astrovan-0.5.9 | test/exec_test.rb |
sbfaulkner-astrovan-0.6.0 | test/exec_test.rb |