mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
clean test.rb file
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
2c00423c3e
commit
12c45d0e7a
1 changed files with 1 additions and 4 deletions
|
@ -11,9 +11,7 @@ backends[:local] = proc {
|
|||
}
|
||||
|
||||
backends[:specinfra_local] = proc {
|
||||
backend_conf = Vulcano::Backend.target_config({
|
||||
'backend' => 'exec',
|
||||
})
|
||||
backend_conf = Vulcano::Backend.target_config({ 'backend' => 'exec' })
|
||||
backend_class = Vulcano::Backend.registry['specinfra']
|
||||
backend_class.new(backend_conf)
|
||||
}
|
||||
|
@ -21,7 +19,6 @@ backends[:specinfra_local] = proc {
|
|||
tests = ARGV
|
||||
|
||||
backends.each do |type, get_backend|
|
||||
puts "run on backend #{type.to_s}"
|
||||
tests.each do |test|
|
||||
instance_eval(File.read(test))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue