summaryrefslogtreecommitdiff
path: root/qa/qa/page/layout
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/layout
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/layout')
-rw-r--r--qa/qa/page/layout/banner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/layout/banner.rb b/qa/qa/page/layout/banner.rb
index e7654bdafc9..2223f2adec8 100644
--- a/qa/qa/page/layout/banner.rb
+++ b/qa/qa/page/layout/banner.rb
@@ -3,7 +3,7 @@ module QA
module Layout
class Banner < Page::Base
view 'app/views/layouts/header/_read_only_banner.html.haml' do
- element :flash_notice, ".flash-notice"
+ element :flash_notice, ".flash-notice" # rubocop:disable QA/ElementWithPattern
end
def has_notice?(message)