summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAubrey Holland <aubreyholland@gmail.com>2015-09-28 17:19:43 -0400
committerLamont Granquist <lamont@scriptkiddie.org>2015-10-24 20:25:12 -0700
commit4e3bd3fc3ef8795f41f77083380a69edb4056652 (patch)
treeae3390be871e8bac14e5cd9e1e544adc5073b423
parent33a175a62c88a7bcfbe92040a56244a91dcef8b3 (diff)
downloadchef-4e3bd3fc3ef8795f41f77083380a69edb4056652.tar.gz
fix tests for my change
-rw-r--r--spec/unit/provider/deploy_spec.rb2
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