Skip to content

test(repository): keyring should not be installed in debian family #330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/integration/repo/controls/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
end

control 'Postgresql repository keyring' do
title 'should be installed'
title 'should not be installed'

only_if('Requirement for Debian family') do
os.debian?
end

describe package('pgdg-keyring') do
it { should be_installed }
it { should_not be_installed }
end

describe file(repo_keyring) do
Expand Down