summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-12-07 09:44:16 +0000
committerGitHub <noreply@github.com>2016-12-07 09:44:16 +0000
commit811cbff2baaf0c5f8ad78cbaf6e62db969842827 (patch)
tree5a824fdbcc06e2cf4633c77baacce0da1e779686 /spec/functional
parentfcb0ccc2480725f03c2f97c0eb5ebcf37e4b2f32 (diff)
parent6ec604f150023e93859af90dff08dba6dc624f79 (diff)
downloadchef-811cbff2baaf0c5f8ad78cbaf6e62db969842827.tar.gz
Merge pull request #5548 from chef/lcg/chefstyle-updates
Chefstyle updates
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/user/useradd_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb
index 874155c107..268ce5c9d2 100644
--- a/spec/functional/resource/user/useradd_spec.rb
+++ b/spec/functional/resource/user/useradd_spec.rb
@@ -119,7 +119,7 @@ describe Chef::Provider::User::Useradd, metadata do
break if status.exitstatus != 8
sleep 1
- max_retries = max_retries - 1
+ max_retries -= 1
rescue UserNotFound
break
end