update unit test to reflect changes in change_host_name.rb

This commit is contained in:
Adam Paul 2018-03-15 11:07:02 -04:00
parent 76551a1692
commit 0dc3798908
1 changed files with 1 additions and 1 deletions

View File

@ -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