lib/specinfra/helper/backend.rb in specinfra-2.0.0.beta6 vs lib/specinfra/helper/backend.rb in specinfra-2.0.0.beta7

- old
+ new

@@ -16,10 +16,10 @@ end module Backend def backend_for(type) instance = self.class.const_get('Specinfra').const_get('Backend').const_get(type.to_s.capitalize).instance - commands = self.class.const_get('Specinfra').const_get('Command').const_get(instance.check_os[:family]).new + commands = Specinfra::Command::Base.new instance.set_commands(commands) instance end end end