Sha256: 0af53167800b5eae20f3a176cf0be504669ac25226466cd3b054c8c92b7cddc0
Contents?: true
Size: 443 Bytes
Versions: 46
Compression:
Stored size: 443 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') class SSHTest < Test::Unit::TestCase should "be able to execute a command over ssh" do ssh = Hydra::SSH.new( 'localhost', # connect to this machine File.expand_path(File.join(File.dirname(__FILE__))), # move to the test directory "ruby fixtures/hello_world.rb" ) response = ssh.gets assert_equal "Hello World", response.text ssh.close end end
Version data entries
46 entries across 46 versions & 4 rubygems