From 89fa95614cf07d4fa0ec174ee9665673dc3ad325 Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Sat, 13 Jul 2019 22:23:24 +0200 Subject: [PATCH] fix(specs): use boolean operator --- test/integration/default/controls/services_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/default/controls/services_spec.rb b/test/integration/default/controls/services_spec.rb index 1da50b7..73ef303 100644 --- a/test/integration/default/controls/services_spec.rb +++ b/test/integration/default/controls/services_spec.rb @@ -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 }