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
(#11966) Only invoke apt-get update once.
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
source_spec.rb
diff --git
a/spec/defines/source_spec.rb
b/spec/defines/source_spec.rb
index 02bc45fcbebd3256b0f8256b292be68611828adc..a6c5e5f3a0a3649011ed35031ef787bf9064f591 100644
(file)
--- a/
spec/defines/source_spec.rb
+++ b/
spec/defines/source_spec.rb
@@
-97,9
+97,8
@@
describe 'apt::source', :type => :define do
}
it {
- should contain_exec("
#{title}
apt update").with({
+ should contain_exec("apt update").with({
"command" => "/usr/bin/apt-get update",
- "subscribe" => "File[#{title}.list]",
"refreshonly" => true
})
}