module-puppetlabs-apt/spec/acceptance/force_spec.rb
Ashley Penney 16e57d4e45 Add additional acceptance testing.
This work adds a test for every parameter in every class/define in apt.
2014-01-09 12:09:22 -05:00

19 lines
346 B
Ruby

require 'spec_helper_acceptance'
describe 'apt::force define' do
context 'defaults' do
it 'should work with no errors' do
pp = <<-EOS
include apt
apt::force { 'vim': }
EOS
apply_manifest(pp, :catch_failures => true)
end
describe package('vim') do
it { should be_installed }
end
end
end