Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f74ff01fd7a3b4a05aa418b1a5dc4941c27e24e
[puppet-modules/puppetlabs-apt.git]
/
spec
/
acceptance
/
force_spec.rb
1
require 'spec_helper_acceptance'
2
3
describe 'apt::force define' do
4
context 'defaults' do
5
it 'should work with no errors' do
6
pp = <<-EOS
7
include apt
8
apt::force { 'vim': }
9
EOS
10
11
apply_manifest(pp, :catch_failures => true)
12
end
13
14
describe package('vim') do
15
it { should be_installed }
16
end
17
end
18
19
end