Fix up subprocess test to not be darwin

This commit is contained in:
Brian Cain 2018-08-16 14:57:56 -07:00
parent 64acd68c64
commit fec681c1af
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ describe Vagrant::Util::Subprocess do
allow(ChildProcess).to receive(:build).and_return(process) allow(ChildProcess).to receive(:build).and_return(process)
allow(Vagrant).to receive(:installer_embedded_dir).and_return(appimage_path) allow(Vagrant).to receive(:installer_embedded_dir).and_return(appimage_path)
allow(Vagrant).to receive(:user_data_path).and_return("") allow(Vagrant).to receive(:user_data_path).and_return("")
allow(Vagrant::Util::Platform).to receive(:darwin?).and_return(false)
end end
after { subject.execute } after { subject.execute }