fixed test for changing aptitude to apt-get
[puppet-modules/puppetlabs-apt.git] / spec / defines / force_spec.rb
index eeea7ff094a2c274b68e43923b5818b58bc6d943..f5d6ac22a97db184ed7024ab8a1d2de8636ba11b 100644 (file)
@@ -32,7 +32,7 @@ describe 'apt::force', :type => :define do
       end
 
       let :exec_title do
-        base_exec = "/usr/bin/aptitude -y -t #{param_hash[:release]} install #{title}"
+        base_exec = "/usr/bin/apt-get -y -t #{param_hash[:release]} install #{title}"
         base_exec + (params[:version] ? "=#{params[:version]}" : "")
       end
       it { should contain_exec(exec_title).with_unless(unless_query) }