diff --git a/spec/classes/collectd_plugin_memory_spec.rb b/spec/classes/collectd_plugin_memory_spec.rb index 138efe11f..22521330c 100644 --- a/spec/classes/collectd_plugin_memory_spec.rb +++ b/spec/classes/collectd_plugin_memory_spec.rb @@ -10,7 +10,7 @@ should contain_file('memory.load').with({ :ensure => 'present', :path => '/etc/collectd.d/10-memory.conf', - :content => /\#\ Generated by Puppet\nLoadPlugin memory\n\n\n<\/Plugin>\n/, + :content => /\#\ Generated by Puppet\n\n Globals false\n\n/, }) end end @@ -26,7 +26,7 @@ should contain_file('memory.load').with({ :ensure => 'present', :path => '/etc/collectd.d/10-memory.conf', - :content => "# Generated by Puppet\n\n Globals false\n\n\n\n ValuesAbsolute = true\n ValuesPercentage = true\n\n\n", + :content => "# Generated by Puppet\n\n Globals false\n\n\n\n ValuesAbsolute = true\n ValuesPercentage = false\n\n\n", }) end end