From 1e33aa9ab47edc4784ddb318de3440bcdcc6b3c8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 16 Jun 2011 18:07:11 -0600 Subject: [PATCH] Get the tests passing for the Chef provisioner --- test/vagrant/provisioners/chef_solo_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/vagrant/provisioners/chef_solo_test.rb b/test/vagrant/provisioners/chef_solo_test.rb index 9995a34a4..e07e8764c 100644 --- a/test/vagrant/provisioners/chef_solo_test.rb +++ b/test/vagrant/provisioners/chef_solo_test.rb @@ -69,7 +69,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase should "share each cookbook folder" do share_seq = sequence("share_seq") @host_cookbook_paths.each_with_index do |cookbook, i| - @env.config.vm.expects(:share_folder).with("v-csc-#{i}", @action.cookbook_path(i), cookbook).in_sequence(share_seq) + @env.config.vm.expects(:share_folder).with("v-csc-#{i}", @action.cookbook_path(i), cookbook, :nfs => false).in_sequence(share_seq) end @action.share_cookbook_folders @@ -85,7 +85,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase should "share each role folder" do share_seq = sequence("share_seq") @host_role_paths.each_with_index do |role, i| - @env.config.vm.expects(:share_folder).with("v-csr-#{i}", @action.role_path(i), role).in_sequence(share_seq) + @env.config.vm.expects(:share_folder).with("v-csr-#{i}", @action.role_path(i), role, :nfs => false).in_sequence(share_seq) end @action.share_role_folders @@ -101,7 +101,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase should "share each data bag folder" do share_seq = sequence("share_seq") @host_data_bag_paths.each_with_index do |data_bag, i| - @env.config.vm.expects(:share_folder).with("v-csdb-#{i}", @action.data_bag_path(i), data_bag).in_sequence(share_seq) + @env.config.vm.expects(:share_folder).with("v-csdb-#{i}", @action.data_bag_path(i), data_bag, :nfs => false).in_sequence(share_seq) end @action.share_data_bags_folders