summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 14:41:34 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 14:41:34 +0200
commit2bb0eecb206c4c3345dcf4771c5ce8d60d91bc7f (patch)
treed5a1a6e3fe10ae825faa60a1feeaf4731f8773a7
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-ce-2bb0eecb206c4c3345dcf4771c5ce8d60d91bc7f.tar.gz
Enable Style/SpaceAfterMethodName rubocop coprubocop/enable-space-after-method-name-cop
See #17478
-rw-r--r--.rubocop.yml2
-rw-r--r--features/steps/project/merge_requests.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2d8eb4077f3..b5a704f5334 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -541,7 +541,7 @@ Style/SpaceAfterComma:
# Do not put a space between a method name and the opening parenthesis in a
# method definition.
Style/SpaceAfterMethodName:
- Enabled: false
+ Enabled: true
# Tracks redundant space after the ! operator.
Style/SpaceAfterNot:
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index b2fa8750234..b30346790eb 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -567,7 +567,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
click_diff_line(sample_compare.changes[1][:line_code])
end
- def have_visible_content (text)
+ def have_visible_content(text)
have_css("*", text: text, visible: true)
end