diff options
Diffstat (limited to 'spec/unit/provider/template_spec.rb')
-rw-r--r-- | spec/unit/provider/template_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/provider/template_spec.rb b/spec/unit/provider/template_spec.rb index e6e251bc22..40088a6e62 100644 --- a/spec/unit/provider/template_spec.rb +++ b/spec/unit/provider/template_spec.rb @@ -57,6 +57,9 @@ describe Chef::Provider::Template do it_behaves_like Chef::Provider::File context "when creating the template" do + before(:each) do + allow(resource).to receive(:docker?).and_return(false) + end let(:enclosing_directory) do canonicalize_path(File.expand_path(File.join(CHEF_SPEC_DATA, "templates"))) |