spec/spec_helper.rb in serverspec-0.2.19 vs spec/spec_helper.rb in serverspec-0.2.20
- old
+ new
@@ -8,10 +8,10 @@
Dir[PROJECT_ROOT.join("spec/support/**/*.rb")].each { |file| require(file) }
module Serverspec
module Backend
class Exec
- def do_check(cmd)
+ def run_command(cmd)
if cmd =~ /invalid/
{
:stdout => ::RSpec.configuration.stdout,
:stderr => ::RSpec.configuration.stderr,
:exit_status => 1,