summaryrefslogtreecommitdiff
path: root/spec/unit/run_context_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-11-14 19:20:09 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-11-14 19:20:09 -0800
commitdbd925b357b036447b47cf5f369792f81d69e76d (patch)
tree31a50b87878057b04b3e75bc1615cd67b228d74c /spec/unit/run_context_spec.rb
parentecbc917ac5496f3138b798332ea66f477c33f8ba (diff)
downloadchef-dbd925b357b036447b47cf5f369792f81d69e76d.tar.gz
CHEF-4777: add include_recipes to recipes node attr
Diffstat (limited to 'spec/unit/run_context_spec.rb')
-rw-r--r--spec/unit/run_context_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/run_context_spec.rb b/spec/unit/run_context_spec.rb
index 8063dffc77..aff1f85ead 100644
--- a/spec/unit/run_context_spec.rb
+++ b/spec/unit/run_context_spec.rb
@@ -45,6 +45,9 @@ describe Chef::RunContext do
describe "loading cookbooks for a run list" do
before do
+ @node.should_receive(:loaded_recipe).with("test")
+ @node.should_receive(:loaded_recipe).with("test::one")
+ @node.should_receive(:loaded_recipe).with("test::two")
@run_context.load(@node.run_list.expand('_default'))
end