mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +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 include 'root' }
|
||||||
it { should_not cmp 'root' }
|
it { should_not cmp 'root' }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
len = passwd.passwords.length
|
||||||
|
describe len do
|
||||||
|
it { should cmp len.to_s }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue