Skip to content

Commit

Permalink
Include flag check on ssh cap test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Jun 12, 2018
1 parent e39b355 commit 7e0cc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/plugins/hosts/windows/cap/ssh_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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
Expand Down

0 comments on commit 7e0cc99

Please sign in to comment.