Sha256: ce969a43079ff51740d938a491bbdc458259b6132d9ec6d81b0a4ae36f141b5b

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

shared_examples_for 'vos driver' do
  it 'should respond to :host' do
    @driver.host.should_not be_nil
  end

  describe "shell" do
    it 'exec' do
      @driver.open do |d|
        d.exec("echo 'ok'").should == [0, "ok\n", ""]
      end
    end

    it 'bash' do
      @driver.open do |d|
        d.bash("echo 'ok'").should == [0, "ok\n"]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vos-0.3.13 lib/vos/drivers/specification.rb