]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
(#14138) Fix spec test for aptitude changes.
authorNan Liu <nan@puppetlabs.com>
Thu, 3 May 2012 04:35:13 +0000 (21:35 -0700)
committerNan Liu <nan@puppetlabs.com>
Thu, 3 May 2012 04:35:13 +0000 (21:35 -0700)
Fix spec test related to apttitude update -> apt-get update change,

spec/defines/ppa_spec.rb

index 9d4750b737a2fdca34714a1334cb1e680c763039..95830169b73099060b20cf6eea06c6fdfdfe12fa 100644 (file)
@@ -19,7 +19,7 @@ describe 'apt::ppa', :type => :define do
       end
 
       it { should contain_exec("apt-update-#{t}").with(
-        'command'     => '/usr/bin/aptitude update',
+        'command'     => '/usr/bin/apt-get update',
         'refreshonly' => true
         )
       }