summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-20 11:54:46 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-20 11:54:46 -0700
commitd0dbda11796e819d4a640f9ee58d5a308a109a19 (patch)
tree7b0879c74125f62cf18f79c0e4597904318882e5 /spec/unit/provider
parentec534aa0fce2c0199bf622a06eeb2c291185cdee (diff)
downloadchef-d0dbda11796e819d4a640f9ee58d5a308a109a19.tar.gz
fixes for rubocop 0.44.1 enginelcg/rubocop-0.44.1
a few cops we have enabled got a little more accurate/stricter Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/provider')
-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