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
Update pin_spec test to match quote removal.
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
pin_spec.rb
diff --git
a/spec/defines/pin_spec.rb
b/spec/defines/pin_spec.rb
index a4cb1e26e3ad74f0ef67a58b52af2f9119278aa9..e7976ad612414ff477637ec1308e601d081fa7be 100644
(file)
--- a/
spec/defines/pin_spec.rb
+++ b/
spec/defines/pin_spec.rb
@@
-60,7
+60,7
@@
describe 'apt::pin', :type => :define do
:priority => '1',
:origin => 'ftp.de.debian.org'
},
:priority => '1',
:origin => 'ftp.de.debian.org'
},
- :content => "# my_pin\nExplanation: : my_pin\nPackage: *\nPin: origin
\"ftp.de.debian.org\"
\nPin-Priority: 1\n"
+ :content => "# my_pin\nExplanation: : my_pin\nPackage: *\nPin: origin
ftp.de.debian.org
\nPin-Priority: 1\n"
},
{
:params => {
},
{
:params => {
@@
-85,7
+85,7
@@
describe 'apt::pin', :type => :define do
param_set[:params]
end
param_set[:params]
end
- it { should
include
_class("apt::params") }
+ it { should
contain
_class("apt::params") }
it { should contain_file("#{title}.pref").with({
'ensure' => param_hash[:ensure],
it { should contain_file("#{title}.pref").with({
'ensure' => param_hash[:ensure],