Skip to content

Commit e64368f

Browse files
committed
[puppet][legacy] fix spec tests for older puppets.
1 parent 9ab6e73 commit e64368f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/defines/datadog_agent__integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
if gem_spec.version >= Gem::Version.new('4.0.0')
2020
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/---\ninit_config: \ninstances:\n- one: two\n/) }
2121
else
22-
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/---\n init_config: \n instances:\n - one: two\n/) }
22+
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').with_content(/--- \n init_config: \n instances:\n - one: two/) }
2323
end
2424
it { should contain_file('/etc/dd-agent/conf.d/test.yaml').that_notifies("Service[datadog-agent]") }
2525
end

0 commit comments

Comments
 (0)