From b47df8488739b44922dd06fc00b17e5ccb922f4f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 7 May 2014 10:09:14 -0700 Subject: [PATCH] communicators/winrm: fix tests --- plugins/communicators/winrm/communicator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/communicators/winrm/communicator.rb b/plugins/communicators/winrm/communicator.rb index cdb2bc7cf..bfabd2fb1 100644 --- a/plugins/communicators/winrm/communicator.rb +++ b/plugins/communicators/winrm/communicator.rb @@ -125,7 +125,7 @@ module VagrantPlugins if opts[:shell] == :wql return output elsif opts[:error_check] && \ - !opts[:good_exit].include(output[:exitcode]) + !opts[:good_exit].include?(output[:exitcode]) raise_execution_error(output, opts) end output[:exitcode]