lib/specinfra/helper/backend.rb in specinfra-0.5.9 vs lib/specinfra/helper/backend.rb in specinfra-0.6.0
- old
+ new
@@ -1,7 +1,7 @@
module SpecInfra
module Helper
- ['Exec', 'Ssh', 'Cmd', 'Docker', 'WinRM', 'ShellScript', 'Dockerfile'].each do |type|
+ ['Exec', 'Ssh', 'Cmd', 'Docker', 'WinRM', 'ShellScript', 'Dockerfile', 'Lxc'].each do |type|
eval <<-EOF
module #{type}
def backend(commands_object=nil)
if ! respond_to?(:commands)
commands_object = SpecInfra::Command::Base.new