Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
ca810b3
)
fixed test for changing aptitude to apt-get
author
Thomas Spalinger
<spali@spali.ch>
Tue, 2 Jul 2013 19:59:26 +0000
(21:59 +0200)
committer
Thomas Spalinger
<spali@spali.ch>
Tue, 2 Jul 2013 19:59:26 +0000
(21:59 +0200)
spec/defines/force_spec.rb
patch
|
blob
|
history
diff --git
a/spec/defines/force_spec.rb
b/spec/defines/force_spec.rb
index eeea7ff094a2c274b68e43923b5818b58bc6d943..f5d6ac22a97db184ed7024ab8a1d2de8636ba11b 100644
(file)
--- a/
spec/defines/force_spec.rb
+++ b/
spec/defines/force_spec.rb
@@
-32,7
+32,7
@@
describe 'apt::force', :type => :define do
end
let :exec_title do
end
let :exec_title do
- base_exec = "/usr/bin/apt
itude
-y -t #{param_hash[:release]} install #{title}"
+ base_exec = "/usr/bin/apt
-get
-y -t #{param_hash[:release]} install #{title}"
base_exec + (params[:version] ? "=#{params[:version]}" : "")
end
it { should contain_exec(exec_title).with_unless(unless_query) }
base_exec + (params[:version] ? "=#{params[:version]}" : "")
end
it { should contain_exec(exec_title).with_unless(unless_query) }