Include flag check on ssh cap test

This commit is contained in:
Chris Roberts 2018-06-12 16:30:51 -07:00
parent e39b3555e6
commit 7e0cc99ffd
1 changed files with 1 additions and 1 deletions

View File

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