Skip to content

Commit

Permalink
fix(specs): use boolean operator
Browse files Browse the repository at this point in the history
  • Loading branch information
alxwr committed Jul 13, 2019
1 parent 9044a92 commit 89fa956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/default/controls/services_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
title 'should be running and enabled'

# single service
if os[:name] == 'centos' and os[:release].start_with?('6')
if os[:name] == 'centos' && os[:release].start_with?('6')
describe service("openvpn") do
it { should be_enabled }
it { should be_running }
Expand Down

0 comments on commit 89fa956

Please sign in to comment.