From 2bb0eecb206c4c3345dcf4771c5ce8d60d91bc7f Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 30 May 2016 14:41:34 +0200 Subject: Enable Style/SpaceAfterMethodName rubocop cop See #17478 --- .rubocop.yml | 2 +- features/steps/project/merge_requests.rb | 2 +- 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 -- cgit v1.2.1