mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
implement fake os method for mock backend
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
c36b6d2972
commit
c56dee4d0f
1 changed files with 2 additions and 1 deletions
|
@ -6,10 +6,11 @@ module Vulcano::Backends
|
|||
class Mock < Vulcano.backend(1)
|
||||
name 'mock'
|
||||
|
||||
attr_accessor :files, :commands
|
||||
attr_accessor :files, :commands, :os
|
||||
def initialize(conf)
|
||||
@conf = conf
|
||||
@files = {}
|
||||
@os = {}
|
||||
@commands = {}
|
||||
trace_calls unless @conf[:quiet]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue