summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-08 14:41:46 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-23 14:42:28 -0700
commit1a9a50439a595d3303a0a87282456243275f64ef (patch)
treefa7de86a4789eedb1827475472e5262a76c30c9f /spec/unit
parentebc1edac19b1a20163cd4d6eb82dc25f0feec002 (diff)
downloadchef-1a9a50439a595d3303a0a87282456243275f64ef.tar.gz
Delegate all necessary methods from ChildRunContext to RunContext
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/run_context_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/run_context_spec.rb b/spec/unit/run_context_spec.rb
index e20ba63b72..857bc6b90e 100644
--- a/spec/unit/run_context_spec.rb
+++ b/spec/unit/run_context_spec.rb
@@ -84,6 +84,10 @@ describe Chef::RunContext do
)
end
+ it "has a nil parent_run_context" do
+ expect(run_context.parent_run_context).to be_nil
+ end
+
describe "loading cookbooks for a run list" do
before do