Skip to content

Commit 2dce0b1

Browse files
committed
Linting fixes
1 parent 573323f commit 2dce0b1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/integration/dd-agent/serverspec/default_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
it { is_expected.to be_running }
1111
end
1212

13-
describe command('rpm -q gpg-pubkey-4172a230-55dd14f6'), :if => os[:family] == 'redhat' do
14-
its(:stdout) { should match "package gpg-pubkey-4172a230-55dd14f6 is not installed" }
15-
its(:exit_status) { should eq 1 }
13+
describe command('rpm -q gpg-pubkey-4172a230-55dd14f6'), if: os[:family] == 'redhat' do
14+
its(:stdout) { is_expected.to match 'package gpg-pubkey-4172a230-55dd14f6 is not installed' }
15+
its(:exit_status) { is_expected.to eq 1 }
1616
end
1717

18-
describe command('rpm -q gpg-pubkey-4172a230-55dd14f6'), :if => os[:family] == 'opensuse' do
19-
its(:stdout) { should match "package gpg-pubkey-4172a230-55dd14f6 is not installed" }
20-
its(:exit_status) { should eq 1 }
18+
describe command('rpm -q gpg-pubkey-4172a230-55dd14f6'), if: os[:family] == 'opensuse' do
19+
its(:stdout) { is_expected.to match 'package gpg-pubkey-4172a230-55dd14f6 is not installed' }
20+
its(:exit_status) { is_expected.to eq 1 }
2121
end
2222
end

0 commit comments

Comments
 (0)