Sha256: 354276c0067b0dcbf3903d0650b1afc48bce03b7bdf03ae943de23b887ea7bf4
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe Evrone::Common::Spawn do subject { Object.new } before { subject.extend described_class } context "spawn" do it "should be" do expect(subject.spawn 'true').to eq 0 end end context "open_ssh" do let(:ssh) { nil } it "should be" do subject.open_ssh(ENV['SSH_HOST'], ENV['SSH_USER'], password: ENV['SSH_PASS']) do |ssh| expect(ssh.spawn 'true').to eq 0 end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
evrone-common-spawn-0.0.3 | spec/lib/spawn_spec.rb |
evrone-common-spawn-0.0.2 | spec/lib/spawn_spec.rb |
evrone-common-spawn-0.0.1 | spec/lib/spawn_spec.rb |