summaryrefslogtreecommitdiff
path: root/qa/qa/page/file/show.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-10-15 14:23:43 +0200
committerRémy Coutable <remy@rymai.me>2018-10-15 17:55:53 +0200
commit1db52c79ad0b2499fb10fb0c68098c3994441642 (patch)
tree31f37fa88b1633143f4d3ed9f306b3b6d86fca6f /qa/qa/page/file/show.rb
parent02c47f2f73ac2d5a33b9a6c971668a38397b4910 (diff)
downloadgitlab-ce-1db52c79ad0b2499fb10fb0c68098c3994441642.tar.gz
Disable the QA/ElementWithPattern cop for existing offenses
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'qa/qa/page/file/show.rb')
-rw-r--r--qa/qa/page/file/show.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/qa/page/file/show.rb b/qa/qa/page/file/show.rb
index 99f5924b67f..abd8ebb089f 100644
--- a/qa/qa/page/file/show.rb
+++ b/qa/qa/page/file/show.rb
@@ -5,12 +5,12 @@ module QA
include Shared::CommitMessage
view 'app/helpers/blob_helper.rb' do
- element :edit_button, "_('Edit')"
- element :delete_button, /label:\s+"Delete"/
+ element :edit_button, "_('Edit')" # rubocop:disable QA/ElementWithPattern
+ element :delete_button, /label:\s+"Delete"/ # rubocop:disable QA/ElementWithPattern
end
view 'app/views/projects/blob/_remove.html.haml' do
- element :delete_file_button, "button_tag 'Delete file'"
+ element :delete_file_button, "button_tag 'Delete file'" # rubocop:disable QA/ElementWithPattern
end
def click_edit