diff options
Diffstat (limited to 'spec/unit/runner_spec.rb')
-rw-r--r-- | spec/unit/runner_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/runner_spec.rb b/spec/unit/runner_spec.rb index eeb471608e..db52862a9c 100644 --- a/spec/unit/runner_spec.rb +++ b/spec/unit/runner_spec.rb @@ -98,6 +98,10 @@ describe Chef::Runner do run_context.resource_collection << first_resource end + it "runner sets up a pointer back to itself in the run_context" do + expect(runner).to eql(run_context.runner) + end + context "when we are doing dynamic provider resolution" do it "should pass each resource in the collection to a provider" do |