Sha256: da15b0a3a99c56070b70a7c3094d5aa05bf22b38d7c7f414ab6f5682b578d1e5

Contents?: true

Size: 483 Bytes

Versions: 6

Compression:

Stored size: 483 Bytes

Contents

require 'integration/spec_helper'

describe 'Normal subject not related to Infrataster' do
  it "doesn't raise any error" do
    expect(subject).not_to raise_error
  end
end

describe server(:proxy) do
  let(:time) { Time.now }
  before do
    current_server.ssh_exec "echo 'Hello' > /tmp/test-#{time.to_i}"
  end
  it "executes a command on the current server" do
    result = current_server.ssh_exec("cat /tmp/test-#{time.to_i}")
    expect(result.chomp).to eq('Hello')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infrataster-0.1.11 spec/integration/other_spec.rb
infrataster-0.1.10 spec/integration/other_spec.rb
infrataster-0.1.9 spec/integration/other_spec.rb
infrataster-0.1.8 spec/integration/other_spec.rb
infrataster-0.1.7 spec/integration/other_spec.rb
infrataster-0.1.6 spec/integration/other_spec.rb