Sha256: a750f79016724320e7b963806e9a9aa9a0abcd3f1224c70be247c78a95eab49c
Contents?: true
Size: 877 Bytes
Versions: 2
Compression:
Stored size: 877 Bytes
Contents
require 'spec_helper' describe AmiSpec::WaitForRC, integration: true do let(:private_key_file) { File.expand_path(File.join('..', 'containers', 'ami-spec'), __FILE__) } context 'xenial server' do let(:ssh_port) { 1122 } it 'executes without printing any errors' do expect { described_class.wait("localhost", "root", private_key_file, ssh_port) }.to_not output.to_stdout end end context 'trusty server' do let(:ssh_port) { 1123 } it 'executes without printing any errors' do expect { described_class.wait("localhost", "root", private_key_file, ssh_port) }.to_not output.to_stdout end end context 'amazon linux server' do let(:ssh_port) { 1124 } it 'executes without printing any errors' do expect { described_class.wait("localhost", "root", private_key_file, ssh_port) }.to_not output.to_stdout end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ami_spec-1.2.0 | spec/wait_for_rc_spec.rb |
ami_spec-1.1.0 | spec/wait_for_rc_spec.rb |