summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/template_spec.rb
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2014-08-04 15:03:02 +0900
committersawanoboly <sawanoboriyu@higanworks.com>2014-08-04 15:03:02 +0900
commite717a8a050f1e7d0b8419b1a058b98f4f9ef294f (patch)
tree35169e6630451a0f74f2dc89d3a68df6bf5ed9b6 /spec/unit/mixin/template_spec.rb
parente2d090be774b1c2e18c4864884588e29ec2bc3bb (diff)
parent930d12091511aa2d547366796ea49f4e26f18253 (diff)
downloadchef-e717a8a050f1e7d0b8419b1a058b98f4f9ef294f.tar.gz
Merge remote-tracking branch 'upstream/master' into use_shared_path_for_deploy_resource
Diffstat (limited to 'spec/unit/mixin/template_spec.rb')
-rw-r--r--spec/unit/mixin/template_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/template_spec.rb b/spec/unit/mixin/template_spec.rb
index 3aa0b9ba22..63fa81782e 100644
--- a/spec/unit/mixin/template_spec.rb
+++ b/spec/unit/mixin/template_spec.rb
@@ -76,7 +76,7 @@ describe Chef::Mixin::Template, "render_template" do
describe "with a template resource" do
before :each do
@cookbook_repo = File.expand_path(File.join(CHEF_SPEC_DATA, "cookbooks"))
- Chef::Cookbook::FileVendor.on_create { |manifest| Chef::Cookbook::FileSystemFileVendor.new(manifest, @cookbook_repo) }
+ Chef::Cookbook::FileVendor.fetch_from_disk(@cookbook_repo)
@node = Chef::Node.new
cl = Chef::CookbookLoader.new(@cookbook_repo)