Sha256: e00573b08e141990290ed21b7a56bcf40743ba4e16bcdeb1f29e5bac53e2d0d0
Contents?: true
Size: 735 Bytes
Versions: 7
Compression:
Stored size: 735 Bytes
Contents
require 'spec_helper_system' describe 'symbolic name' do pp = <<-EOS concat { 'not_abs_path': path => '/tmp/concat/file', } concat::fragment { '1': target => 'not_abs_path', content => '1', order => '01', } concat::fragment { '2': target => 'not_abs_path', content => '2', order => '02', } EOS context puppet_apply(pp) do its(:stderr) { should be_empty } its(:exit_code) { should_not == 1 } its(:refresh) { should be_nil } its(:stderr) { should be_empty } its(:exit_code) { should be_zero } end describe file('/tmp/concat/file') do it { should be_file } it { should contain '1' } it { should contain '2' } end end
Version data entries
7 entries across 7 versions & 1 rubygems