clean test.rb file

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-15 12:38:51 +02:00
parent 2c00423c3e
commit 12c45d0e7a

View file

@ -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