Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
(MODULES-1200) Fix inconsistent header across files
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
conf_spec.rb
diff --git
a/spec/defines/conf_spec.rb
b/spec/defines/conf_spec.rb
index ec4e229c4449f5122f340ce61a16bc60cd82ff09..2c1752f074cb301741edc771a4ba3420bae950b0 100644
(file)
--- a/
spec/defines/conf_spec.rb
+++ b/
spec/defines/conf_spec.rb
@@
-19,7
+19,7
@@
describe 'apt::conf', :type => :define do
it { should contain_file(filename).with({
'ensure' => 'present',
it { should contain_file(filename).with({
'ensure' => 'present',
- 'content' =>
"Apt::Install-Recommends 0;\nApt::AutoRemove::InstallRecommends 1;\n"
,
+ 'content' =>
/Apt::Install-Recommends 0;\nApt::AutoRemove::InstallRecommends 1;/
,
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
@@
-42,7
+42,7
@@
describe 'apt::conf', :type => :define do
it { should contain_file(filename).with({
'ensure' => 'absent',
it { should contain_file(filename).with({
'ensure' => 'absent',
- 'content' =>
"Apt::Install-Recommends 0;\nApt::AutoRemove::InstallRecommends 1;\n"
,
+ 'content' =>
/Apt::Install-Recommends 0;\nApt::AutoRemove::InstallRecommends 1;/
,
'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'owner' => 'root',
'group' => 'root',
'mode' => '0644',