From 7e0cc99ffd51577fd3b227df2cbd77a07e20c19a Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 12 Jun 2018 16:30:51 -0700 Subject: [PATCH] Include flag check on ssh cap test --- test/unit/plugins/hosts/windows/cap/ssh_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/plugins/hosts/windows/cap/ssh_test.rb b/test/unit/plugins/hosts/windows/cap/ssh_test.rb index e1a9f93fc..e258574e5 100644 --- a/test/unit/plugins/hosts/windows/cap/ssh_test.rb +++ b/test/unit/plugins/hosts/windows/cap/ssh_test.rb @@ -18,7 +18,7 @@ describe VagrantPlugins::HostWindows::Cap::SSH do it "should execute PowerShell script" do expect(Vagrant::Util::PowerShell).to receive(:execute).with( - /set_ssh_key_permissions.ps1/, key_path.to_s, any_args + /set_ssh_key_permissions.ps1/, "-KeyPath", key_path.to_s, any_args ).and_return(result) subject.set_ssh_key_permissions(env, key_path) end