Sha256: fd7a5914406837403100cc3e9eb419ce0dce792f08ecc13a15e4a19d0d25f40c
Contents?: true
Size: 752 Bytes
Versions: 4
Compression:
Stored size: 752 Bytes
Contents
# This tests that VM is up as a linked clone shared_examples 'provider/linked_clone' do |provider, options| if !options[:box] raise ArgumentError, "box option must be specified for provider: #{provider}" end include_context 'acceptance' before do environment.skeleton('linked_clone') assert_execute('vagrant', 'box', 'add', 'basic', options[:box]) assert_execute('vagrant', 'up', "--provider=#{provider}") end after do assert_execute('vagrant', 'destroy', '--force') end it 'creates machine as linked clone' do status("Test: machine is running after up") result = execute("vagrant", "ssh", "-c", "echo foo") expect(result).to exit_with(0) expect(result.stdout).to match(/foo\n$/) end end
Version data entries
4 entries across 4 versions & 1 rubygems