Merge pull request #445 from mhaskel/updates_everywhere
[puppet-modules/puppetlabs-apt.git] / spec / classes / apt_spec.rb
index 26119bfb153d2c515d05bd45085eaa9654a1862c..b8ff37ea312caee1153a9c574c73b2520c9b4723 100644 (file)
@@ -110,9 +110,8 @@ describe 'apt', :type => :class do
     } } }
 
     it {
-      is_expected.to contain_apt__setting('debian_unstable').with({
+      is_expected.to contain_apt__setting('list-debian_unstable').with({
         'ensure'  => 'present',
-        'notify'  => 'Exec[apt_update]',
       })
     }
 
@@ -120,9 +119,8 @@ describe 'apt', :type => :class do
     it { is_expected.to contain_file('/etc/apt/sources.list.d/debian_unstable.list').with_content(/^deb-src http:\/\/debian.mirror.iweb.ca\/debian\/ unstable main contrib non-free$/) }
 
     it {
-      is_expected.to contain_apt__setting('puppetlabs').with({
+      is_expected.to contain_apt__setting('list-puppetlabs').with({
         'ensure'  => 'present',
-        'notify'  => 'Exec[apt_update]',
       })
     }