lib/beaker-rspec/helpers/serverspec.rb in beaker-rspec-5.0.1 vs lib/beaker-rspec/helpers/serverspec.rb in beaker-rspec-5.0.2

- old
+ new

@@ -135,15 +135,10 @@ private def self.run(meth, *args) backend = Specinfra.backend - node = get_working_node - if node['platform'] =~ /windows/ - cmd = Specinfra.command.get_windows_cmd(meth, *args) - else - cmd = Specinfra.command.get(meth, *args) - end + cmd = Specinfra.command.get(meth, *args) backend = Specinfra.backend ret = backend.run_command(cmd) if meth.to_s =~ /^check/ ret.success? else