- EOS
-
- it 'applies the manifest twice with no stderr' do
- apply_manifest(pp, :catch_failures => true)
- apply_manifest(pp, :catch_changes => true)
- end
-
- describe file("#{basedir}/foo") do
- it { should be_file }
- its(:content) { should match match_output }
- end
- end
- describe 'alpha' do
- it_should_behave_like 'order_by', 'alpha', /string3string2string1/
- end
- describe 'numeric' do
- it_should_behave_like 'order_by', 'numeric', /string3string2string1/
- end
- end
-
- context '=> normal order' do
- pp = <<-EOS
- concat { '#{basedir}/foo': }
- concat::fragment { '1':
- target => '#{basedir}/foo',
- content => 'string1',
- order => '01',
- }