Skip to content

Commit

Permalink
Satisfy Static & Syntax Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaaz committed Feb 7, 2023
1 parent c4f50c7 commit 7238bd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/shared_examples/repos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
if (facts[:operatingsystem] == 'Debian' && facts[:operatingsystemrelease] =~ /1[1-9]/) || (facts[:operatingsystem] == 'Ubuntu' && facts[:operatingsystemrelease] =~ /2[2-9]/)
it {
is_expected.to contain_class('archive')
is_expected.to contain_archive(keyring)
.with(
is_expected.to contain_archive(keyring).with(
'ensure' => 'present',
'source' => "https://download.docker.com/linux/#{os_lc}/gpg",
'extract' => true,
Expand Down

0 comments on commit 7238bd5

Please sign in to comment.