summaryrefslogtreecommitdiff
path: root/spec/defines/rsyslog_snippet_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/defines/rsyslog_snippet_spec.rb')
-rw-r--r--spec/defines/rsyslog_snippet_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/defines/rsyslog_snippet_spec.rb b/spec/defines/rsyslog_snippet_spec.rb
index 91d75c1..a8f2575 100644
--- a/spec/defines/rsyslog_snippet_spec.rb
+++ b/spec/defines/rsyslog_snippet_spec.rb
@@ -19,7 +19,7 @@ describe 'rsyslog::snippet', :type => :define do
let(:title) { 'rsyslog-snippet-basic' }
it 'should compile' do
- should contain_file('/etc/rsyslog.d/rsyslog-snippet-basic.conf').with_content("Random Content\n")
+ should contain_file('/etc/rsyslog.d/rsyslog-snippet-basic.conf').with_content("# file managed by puppet\nRandom Content\n")
end
end
end
@@ -41,7 +41,7 @@ describe 'rsyslog::snippet', :type => :define do
let(:title) { 'rsyslog-snippet-basic' }
it 'should compile' do
- should contain_file('/etc/rsyslog.d/rsyslog-snippet-basic.conf').with_content("Random Content\n")
+ should contain_file('/etc/rsyslog.d/rsyslog-snippet-basic.conf').with_content("# file managed by puppet\nRandom Content\n")
end
end
end
@@ -63,7 +63,7 @@ describe 'rsyslog::snippet', :type => :define do
let(:title) { 'rsyslog-snippet-basic' }
it 'should compile' do
- should contain_file('/etc/syslog.d/rsyslog-snippet-basic.conf').with_content("Random Content\n")
+ should contain_file('/etc/syslog.d/rsyslog-snippet-basic.conf').with_content("# file managed by puppet\nRandom Content\n")
end
end
end