(#11966) Only invoke apt-get update once.
[puppet-modules/puppetlabs-apt.git] / spec / defines / source_spec.rb
index 02bc45fcbebd3256b0f8256b292be68611828adc..a6c5e5f3a0a3649011ed35031ef787bf9064f591 100644 (file)
@@ -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
         })
       }