From 0dc3798908fe03aaffd50c0ec9b152d7fc672c7e Mon Sep 17 00:00:00 2001 From: Adam Paul Date: Thu, 15 Mar 2018 11:07:02 -0400 Subject: [PATCH] update unit test to reflect changes in change_host_name.rb --- test/unit/plugins/guests/windows/cap/change_host_name_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/plugins/guests/windows/cap/change_host_name_test.rb b/test/unit/plugins/guests/windows/cap/change_host_name_test.rb index 33bf261ba..1f842815b 100644 --- a/test/unit/plugins/guests/windows/cap/change_host_name_test.rb +++ b/test/unit/plugins/guests/windows/cap/change_host_name_test.rb @@ -34,7 +34,7 @@ describe "VagrantPlugins::GuestWindows::Cap::ChangeHostName" do 'if (!([System.Net.Dns]::GetHostName() -eq \'newhostname\')) { exit 0 } exit 1', exit_code: 0) communicator.stub_command(rename_script, exit_code: 0) - described_class.change_host_name_and_wait(machine, 'newhostname', 0) + described_class.change_host_name_and_wait(machine, 'newhostname') end end