Skip to content

Commit ca1d98a

Browse files
committed
Added acceptance for keyring
1 parent 62a3ddc commit ca1d98a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# frozen_string_literal: true
2+
3+
require 'spec_helper_acceptance'
4+
5+
describe 'apt::keyring' do
6+
context 'when using default values and source specified explicitly' do
7+
keyring_pp = <<-MANIFEST
8+
apt::keyring { 'puppetlabs-keyring.gpg':
9+
source => 'https://apt.puppetlabs.com/keyring.gpg',
10+
}
11+
MANIFEST
12+
13+
it 'applies idempotently' do
14+
retry_on_error_matching do
15+
idempotent_apply(pp)
16+
end
17+
end
18+
end
19+
end

0 commit comments

Comments
 (0)