summaryrefslogtreecommitdiff
path: root/spec/unit/policy_builder
diff options
context:
space:
mode:
authorThom May <tmay@expedia.com>2014-03-04 11:55:20 +0000
committerThom May <tmay@expedia.com>2014-03-04 11:55:20 +0000
commit7ee733dacf68b44b7bae043fd295dd8a845196e9 (patch)
tree4a9de46e123c09e6da8effc2e746d08e07543642 /spec/unit/policy_builder
parent423651d9ca1d20855fac93ca374a0f555bc70a85 (diff)
downloadchef-7ee733dacf68b44b7bae043fd295dd8a845196e9.tar.gz
move run_list twiddling into the policy builder
Diffstat (limited to 'spec/unit/policy_builder')
-rw-r--r--spec/unit/policy_builder/expand_node_object_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/policy_builder/expand_node_object_spec.rb b/spec/unit/policy_builder/expand_node_object_spec.rb
index 5c6f39d28c..a1e0b881d5 100644
--- a/spec/unit/policy_builder/expand_node_object_spec.rb
+++ b/spec/unit/policy_builder/expand_node_object_spec.rb
@@ -244,7 +244,7 @@ describe Chef::PolicyBuilder::ExpandNodeObject do
it "sets the override run_list on the node" do
expect(node.run_list).to eq([override_runlist])
- expect(policy_builder.original_runlist).to eq(primary_runlist)
+ expect(node.primary_runlist).to eq(primary_runlist)
end
it "reports that a temporary policy is being used" do