- fixed failing test (now done like linux cap test)
This commit is contained in:
Daniel Poggenpohl 2020-07-10 23:38:29 +02:00
parent c4b16b509a
commit 480b8997d8

View File

@ -45,7 +45,7 @@ describe "VagrantPlugins::GuestSolaris11::Cap::ShellExpandGuestPath" do
allow(machine.communicate).to receive(:execute).
with(any_args).and_yield(:stdout, path_with_spaces)
expect(machine.communicate).to receive(:execute).with("printf #{path_with_spaces}")
expect(machine.communicate).to receive(:execute).with("echo; printf #{path_with_spaces}")
cap.shell_expand_guest_path(machine, path)
end
end