summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-16 12:52:53 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-16 12:52:53 -0800
commit7c4670ce77cafb481477e9da75348a75b44c0393 (patch)
tree62a8d3a7ad3df821140911758d3743e98f62573f /spec/unit/cookbook_spec.rb
parentdbd925b357b036447b47cf5f369792f81d69e76d (diff)
downloadchef-7c4670ce77cafb481477e9da75348a75b44c0393.tar.gz
CHEF-4777: fix for fully qualifying recipes
this makes it so that the recipes in the attribute will be fully qualified, and will avoid the problem of both "cookbook" and "cookbook::default" showing up.
Diffstat (limited to 'spec/unit/cookbook_spec.rb')
-rw-r--r--spec/unit/cookbook_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/cookbook_spec.rb b/spec/unit/cookbook_spec.rb
index a9122bd150..ca4f4adc08 100644
--- a/spec/unit/cookbook_spec.rb
+++ b/spec/unit/cookbook_spec.rb
@@ -70,7 +70,7 @@ describe Chef::CookbookVersion do
it "should allow you to include a fully-qualified recipe using the DSL" do
# DSL method include_recipe allows multiple arguments, so extract the first
- @node.should_receive(:loaded_recipe).with("openldap::gigantor")
+ @node.should_receive(:loaded_recipe).with(:openldap, "gigantor")
recipe = @run_context.include_recipe("openldap::gigantor").first
recipe.recipe_name.should == "gigantor"