diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2019-01-24 16:43:02 +0300 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2019-01-29 22:05:30 +0300 |
commit | ff0b2cc61fff18186572084790bb0a054090b917 (patch) | |
tree | 88e3afefb751249389afdb627a23ceb7f26bfc7a /spec/support/helpers/rake_helpers.rb | |
parent | 96516f7ef32c16d8b85d4be3d8d0252f81341c99 (diff) |
Re-enable MethodCallWithoutArgsParentheses Cop
Re-enables and autocorrects all instances of the
Style/MethodCallWithoutArgsParentheses rule
Diffstat (limited to 'spec/support/helpers/rake_helpers.rb')
-rw-r--r-- | spec/support/helpers/rake_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/rake_helpers.rb b/spec/support/helpers/rake_helpers.rb index acd9cce6a67..7d8d7750bf3 100644 --- a/spec/support/helpers/rake_helpers.rb +++ b/spec/support/helpers/rake_helpers.rb @@ -14,7 +14,7 @@ module RakeHelpers end def silence_progress_bar - allow_any_instance_of(ProgressBar::Output).to receive(:stream).and_return(double().as_null_object) + allow_any_instance_of(ProgressBar::Output).to receive(:stream).and_return(double.as_null_object) end def main_object |