summaryrefslogtreecommitdiff
path: root/spec/features/projects/snippets
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2019-01-24 15:43:02 +0200
committerAndrew Newdigate <andrew@gitlab.com>2019-01-29 21:05:30 +0200
commitff0b2cc61fff18186572084790bb0a054090b917 (patch)
tree88e3afefb751249389afdb627a23ceb7f26bfc7a /spec/features/projects/snippets
parent96516f7ef32c16d8b85d4be3d8d0252f81341c99 (diff)
downloadgitlab-ce-ff0b2cc61fff18186572084790bb0a054090b917.tar.gz
Re-enable MethodCallWithoutArgsParentheses Cop
Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
Diffstat (limited to 'spec/features/projects/snippets')
-rw-r--r--spec/features/projects/snippets/user_comments_on_snippet_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/snippets/user_comments_on_snippet_spec.rb b/spec/features/projects/snippets/user_comments_on_snippet_spec.rb
index d82e350e0f7..9c1ef78b0ca 100644
--- a/spec/features/projects/snippets/user_comments_on_snippet_spec.rb
+++ b/spec/features/projects/snippets/user_comments_on_snippet_spec.rb
@@ -31,7 +31,7 @@ describe 'Projects > Snippets > User comments on a snippet', :js do
end
it 'should have zen mode' do
- find('.js-zen-enter').click()
+ find('.js-zen-enter').click
expect(page).to have_selector('.fullscreen')
end
end