diff options
author | Aubrey Holland <aubreyholland@gmail.com> | 2015-09-28 17:19:43 -0400 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-10-24 20:25:12 -0700 |
commit | 4e3bd3fc3ef8795f41f77083380a69edb4056652 (patch) | |
tree | ae3390be871e8bac14e5cd9e1e544adc5073b423 | |
parent | 33a175a62c88a7bcfbe92040a56244a91dcef8b3 (diff) | |
download | chef-4e3bd3fc3ef8795f41f77083380a69edb4056652.tar.gz |
fix tests for my change
-rw-r--r-- | spec/unit/provider/deploy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/deploy_spec.rb b/spec/unit/provider/deploy_spec.rb index e6a7125e32..adcb9431eb 100644 --- a/spec/unit/provider/deploy_spec.rb +++ b/spec/unit/provider/deploy_spec.rb @@ -356,7 +356,7 @@ describe Chef::Provider::Deploy do it "chowns the whole release dir to user and group specified in the resource" do @resource.user "foo" @resource.group "bar" - expect(FileUtils).to receive(:chown_R).with("foo", "bar", "/my/deploy/dir") + expect(FileUtils).to receive(:chown_R).with("foo", "bar", "/my/deploy/dir", { :force => true }) @provider.enforce_ownership end |