spec/spec_helper.rb in serverspec-2.0.0.beta19 vs spec/spec_helper.rb in serverspec-2.0.0.beta20

- old
+ new

@@ -11,23 +11,22 @@ class Exec < Base def run_command cmd CommandResult.new({ :stdout => ::Specinfra.configuration.stdout, :stderr => ::Specinfra.configuration.stderr, - :exit_status => cmd =~ /invalid/ ? 1 : 0, + :exit_status => 0, :exit_signal => nil, }) end end class Cmd < Base def run_command cmd CommandResult.new({ :stdout => ::Specinfra.configuration.stdout, :stderr => ::Specinfra.configuration.stderr, - :exit_status => cmd.to_s =~ /invalid/ ? 1 : 0, + :exit_status => 0, :exit_signal => nil, }) end end end end -