summaryrefslogtreecommitdiff
path: root/spec/unit/policy_builder
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2014-02-03 14:17:45 -0800
committerdanielsdeleo <dan@opscode.com>2014-02-03 14:40:10 -0800
commitfff56de8754f520f199011cdd1e0f7b4694bdbae (patch)
treeb6c02ee1822463996f867008687ce6cff5aa232e /spec/unit/policy_builder
parent72606301614b846c5c3a996d1cedfbd2c8de2955 (diff)
downloadchef-fff56de8754f520f199011cdd1e0f7b4694bdbae.tar.gz
Delegate sync_cookbooks to policy_builder, subclasses rely on it
Diffstat (limited to 'spec/unit/policy_builder')
-rw-r--r--spec/unit/policy_builder/expand_node_object_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/policy_builder/expand_node_object_spec.rb b/spec/unit/policy_builder/expand_node_object_spec.rb
index bca48b0914..dc8b532e2b 100644
--- a/spec/unit/policy_builder/expand_node_object_spec.rb
+++ b/spec/unit/policy_builder/expand_node_object_spec.rb
@@ -55,6 +55,10 @@ describe Chef::PolicyBuilder::ExpandNodeObject do
expect(policy_builder).to respond_to(:expand_run_list)
end
+ it "implements a sync_cookbooks method" do
+ expect(policy_builder).to respond_to(:sync_cookbooks)
+ end
+
describe "loading the node" do
context "on chef-solo" do