mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Use mocked file instead of an empty file call
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
b440e3f132
commit
bc56b2275a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ describe Inspec::ProfileContext do
|
|||
end
|
||||
|
||||
it 'must provide file resource' do
|
||||
load('print file("").type').must_output 'unknown'
|
||||
load('print file("/etc/passwd").type').must_output 'file'
|
||||
end
|
||||
|
||||
it 'must provide command resource' do
|
||||
|
|
Loading…
Reference in a new issue