mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Correct example to use message
in both places
Thanks @kclinden Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
4a5103802a
commit
74f0e7cf0e
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ Use `where` with [expect syntax](https://www.inspec.io/docs/reference/profiles/#
|
||||||
describe 'Password hashes in /etc/shadow' do
|
describe 'Password hashes in /etc/shadow' do
|
||||||
it 'should only contain SHA512 hashes' do
|
it 'should only contain SHA512 hashes' do
|
||||||
message = "Users without SHA512 hashes: #{bad_users.join(', ')}"
|
message = "Users without SHA512 hashes: #{bad_users.join(', ')}"
|
||||||
expect(bad_users).to be_empty, failure_message
|
expect(bad_users).to be_empty, message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue