Skip to content

Commit

Permalink
feat(serverspec): fix serverspec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Aug 14, 2024
1 parent 87101a1 commit 2fa9a54
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@
end

describe command('rpm -q gpg-pubkey-e09422b3'), :if => os[:family] == 'redhat' do
its(:exit_status) { should eq 0 }
its(:stdout) { should contain 'gpg-pubkey-e09422b3' }
its(:exit_status) { should eq 1 }
end
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@
end

describe command('rpm -q gpg-pubkey-e09422b3'), :if => os[:family] == 'redhat' do
its(:exit_status) { should eq 0 }
its(:stdout) { should contain 'gpg-pubkey-e09422b3' }
its(:exit_status) { should eq 1 }
end
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
its(:exit_status) { should eq 0 }
its(:stdout) { should contain 'gpg-pubkey-fd4bf915' }
end

describe command('rpm -q gpg-pubkey-e09422b3'), :if => os[:family] == 'redhat' do
its(:exit_status) { should eq 1 }
end
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@
end

describe command('rpm -q gpg-pubkey-e09422b3'), :if => os[:family] == 'redhat' do
its(:exit_status) { should eq 0 }
its(:stdout) { should contain 'gpg-pubkey-e09422b3' }
its(:exit_status) { should eq 1 }
end
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@
end

describe command('rpm -q gpg-pubkey-e09422b3'), :if => os[:family] == 'redhat' do
its(:exit_status) { should eq 0 }
its(:stdout) { should contain 'gpg-pubkey-e09422b3' }
its(:exit_status) { should eq 1 }
end

0 comments on commit 2fa9a54

Please sign in to comment.