summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-20 16:10:27 -0700
committerGitHub <noreply@github.com>2016-10-20 16:10:27 -0700
commit25f10d325947b5bbbb4c4dd358d2bb1c7f34f437 (patch)
tree5495cf129c2d992d1e425a03ecbdf48fb1de2f7d /spec/unit
parent19824570589fecad10fcad01c2c9c6be834cc286 (diff)
parentd0dbda11796e819d4a640f9ee58d5a308a109a19 (diff)
downloadchef-25f10d325947b5bbbb4c4dd358d2bb1c7f34f437.tar.gz
Merge pull request #5479 from chef/lcg/rubocop-0.44.1
fixes for rubocop 0.44.1 engine
Diffstat (limited to 'spec/unit')
-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 e69714280c..b30ddb736a 100644
--- a/spec/unit/provider/deploy_spec.rb
+++ b/spec/unit/provider/deploy_spec.rb
@@ -556,7 +556,7 @@ describe Chef::Provider::Deploy do
@resource.deploy_to("/my/app")
expect(mock_execution).to receive(:user).with("notCoolMan")
expect(mock_execution).to receive(:group).with("Ggroup")
- expect(mock_execution).to receive(:cwd) {|*args|
+ expect(mock_execution).to receive(:cwd) { |*args|
if args.empty?
nil
else