Skip to content

Commit

Permalink
[puppet][legacy] fix spec tests for older puppets.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Sep 20, 2016
1 parent 9ab6e73 commit e64368f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/defines/datadog_agent__integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
if gem_spec.version >= Gem::Version.new('4.0.0')
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/---\ninit_config: \ninstances:\n- one: two\n/) }
else
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/---\n init_config: \n instances:\n - one: two\n/) }
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/--- \n init_config: \n instances:\n - one: two/) }
end
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').that_notifies("Service[datadog-agent]") }
end

0 comments on commit e64368f

Please sign in to comment.