Get the tests passing for the Chef provisioner
This commit is contained in:
parent
338b3ac094
commit
1e33aa9ab4
|
@ -69,7 +69,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase
|
||||||
should "share each cookbook folder" do
|
should "share each cookbook folder" do
|
||||||
share_seq = sequence("share_seq")
|
share_seq = sequence("share_seq")
|
||||||
@host_cookbook_paths.each_with_index do |cookbook, i|
|
@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
|
end
|
||||||
|
|
||||||
@action.share_cookbook_folders
|
@action.share_cookbook_folders
|
||||||
|
@ -85,7 +85,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase
|
||||||
should "share each role folder" do
|
should "share each role folder" do
|
||||||
share_seq = sequence("share_seq")
|
share_seq = sequence("share_seq")
|
||||||
@host_role_paths.each_with_index do |role, i|
|
@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
|
end
|
||||||
|
|
||||||
@action.share_role_folders
|
@action.share_role_folders
|
||||||
|
@ -101,7 +101,7 @@ class ChefSoloProvisionerTest < Test::Unit::TestCase
|
||||||
should "share each data bag folder" do
|
should "share each data bag folder" do
|
||||||
share_seq = sequence("share_seq")
|
share_seq = sequence("share_seq")
|
||||||
@host_data_bag_paths.each_with_index do |data_bag, i|
|
@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
|
end
|
||||||
|
|
||||||
@action.share_data_bags_folders
|
@action.share_data_bags_folders
|
||||||
|
|
Loading…
Reference in New Issue