blob: a976a56c9eaa2599e6901111102d8a000b159839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'spec_helper_acceptance'
describe 'apt class' do
context 'default parameters' do
it 'should work idempotently with no errors' do
pp = <<-EOS
class { 'apt': }
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe package('apt') do
it { is_expected.to be_installed }
end
end
end
|