diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2014-08-04 15:03:02 +0900 |
---|---|---|
committer | sawanoboly <sawanoboriyu@higanworks.com> | 2014-08-04 15:03:02 +0900 |
commit | e717a8a050f1e7d0b8419b1a058b98f4f9ef294f (patch) | |
tree | 35169e6630451a0f74f2dc89d3a68df6bf5ed9b6 /spec/unit/mixin | |
parent | e2d090be774b1c2e18c4864884588e29ec2bc3bb (diff) | |
parent | 930d12091511aa2d547366796ea49f4e26f18253 (diff) | |
download | chef-e717a8a050f1e7d0b8419b1a058b98f4f9ef294f.tar.gz |
Merge remote-tracking branch 'upstream/master' into use_shared_path_for_deploy_resource
Diffstat (limited to 'spec/unit/mixin')
-rw-r--r-- | spec/unit/mixin/template_spec.rb | 2 |
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) |