From: Nan Liu Date: Thu, 3 May 2012 04:35:13 +0000 (-0700) Subject: (#14138) Fix spec test for aptitude changes. X-Git-Tag: 0.0.3~7^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=67023aa43522fe6f191a101764e531c5138f3f5a;p=puppet-modules%2Fpuppetlabs-apt.git (#14138) Fix spec test for aptitude changes. Fix spec test related to apttitude update -> apt-get update change, --- diff --git a/spec/defines/ppa_spec.rb b/spec/defines/ppa_spec.rb index 9d4750b..9583016 100644 --- a/spec/defines/ppa_spec.rb +++ b/spec/defines/ppa_spec.rb @@ -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 ) }