mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Merge pull request #3834 from skylerto/master
inspec compliance: Fix mocked configuration
This commit is contained in:
commit
3024c60c64
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ module InspecPlugins
|
|||
configure_logger(o)
|
||||
|
||||
# only run against the mock backend, otherwise we run against the local system
|
||||
o[:backend] = Inspec::Backend.create(target: 'mock://')
|
||||
o[:backend] = Inspec::Backend.create(Inspec::Config.mock)
|
||||
o[:check_mode] = true
|
||||
o[:vendor_cache] = Inspec::Cache.new(o[:vendor_cache])
|
||||
|
||||
|
|
Loading…
Reference in a new issue