Skip to content

Commit 6a2c90f

Browse files
chbielchris-rock
authored andcommitted
Issue 139 - Use cmp instead of be matcher to allow string matching (#139) (#140)
Signed-off-by: Christopher Biel <christopher.biel89@gmail.com>
1 parent 992faad commit 6a2c90f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controls/sshd_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
tag 'CIS Red Hat Enterprise Linux 7 Benchmark version 01-31-2017': '2.1.1'
223223
ref 'Center for Internet Security', url: 'https://www.cisecurity.org/'
224224
describe sshd_config do
225-
its('MaxAuthTries') { should be == attribute('max_auth_tries') }
225+
its('MaxAuthTries') { should cmp == attribute('max_auth_tries') }
226226
end
227227
end
228228

0 commit comments

Comments
 (0)