Fix up NFS test to ignore smb capability requests
This commit is contained in:
parent
3fd9f44921
commit
aabf4d689c
|
@ -30,6 +30,8 @@ describe VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings do
|
||||||
env[:test] = true
|
env[:test] = true
|
||||||
allow(machine.env).to receive(:host) { host }
|
allow(machine.env).to receive(:host) { host }
|
||||||
allow(host).to receive(:capability).with(:nfs_installed) { true }
|
allow(host).to receive(:capability).with(:nfs_installed) { true }
|
||||||
|
# We don't care about smb support so return not installed
|
||||||
|
allow(host).to receive(:capability?).with(:smb_installed).and_return(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "calls the next action in the chain" do
|
it "calls the next action in the chain" do
|
||||||
|
|
Loading…
Reference in New Issue