From aabf4d689cc8d5e3e1be751e0572a5db93629b9e Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 21 Dec 2017 10:05:50 -0800 Subject: [PATCH] Fix up NFS test to ignore smb capability requests --- .../providers/virtualbox/action/prepare_nfs_settings_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb index 9345b4011..2a854671b 100644 --- a/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb +++ b/test/unit/plugins/providers/virtualbox/action/prepare_nfs_settings_test.rb @@ -30,6 +30,8 @@ describe VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings do env[:test] = true allow(machine.env).to receive(:host) { host } 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 it "calls the next action in the chain" do