diff options
Diffstat (limited to 'rubocop/cop/qa/element_with_pattern.rb')
-rw-r--r-- | rubocop/cop/qa/element_with_pattern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/qa/element_with_pattern.rb b/rubocop/cop/qa/element_with_pattern.rb index f7debf13151..d48f4725488 100644 --- a/rubocop/cop/qa/element_with_pattern.rb +++ b/rubocop/cop/qa/element_with_pattern.rb @@ -30,7 +30,7 @@ module RuboCop return if args.first.nil? args.first.each_node(:str) do |arg| - add_offense(arg, message: MESSAGE % "data-qa-selector=\"#{element_name.value}\"") + add_offense(arg, message: MESSAGE % "data-qa-selector=#{element_name.value}") end end |