mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
add cmp int->string tests
This commit is contained in:
parent
681f817992
commit
2fc0994f4c
1 changed files with 5 additions and 0 deletions
|
@ -29,4 +29,9 @@ if os.linux?
|
|||
it { should include 'root' }
|
||||
it { should_not cmp 'root' }
|
||||
end
|
||||
|
||||
len = passwd.passwords.length
|
||||
describe len do
|
||||
it { should cmp len.to_s }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue