Include flag check on ssh cap test
This commit is contained in:
parent
e39b3555e6
commit
7e0cc99ffd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue