From 45f041e33efeb6491077585ae2b81358289ce687 Mon Sep 17 00:00:00 2001 From: Adam Nelson Date: Fri, 4 Sep 2020 12:51:54 +0200 Subject: [PATCH] Update unit test to match changed `mkdir` command --- test/unit/plugins/guests/windows/cap/rsync_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/plugins/guests/windows/cap/rsync_test.rb b/test/unit/plugins/guests/windows/cap/rsync_test.rb index e55006512..af8925485 100644 --- a/test/unit/plugins/guests/windows/cap/rsync_test.rb +++ b/test/unit/plugins/guests/windows/cap/rsync_test.rb @@ -19,7 +19,7 @@ describe "VagrantPlugins::GuestWindows::Cap::RSync" do describe ".rsync_pre" do it 'makes the guestpath directory with mkdir' do - communicator.expect_command("mkdir -p '/sync_dir'") + communicator.expect_command("mkdir \"/sync_dir\" -force") described_class.rsync_pre(machine, guestpath: '/sync_dir') end end