16e57d4e45
This work adds a test for every parameter in every class/define in apt.
19 lines
346 B
Ruby
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
|