Commit a5cfd5a6 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix rubocop offense in QA page element class

parent d5a92c53
......@@ -5,7 +5,7 @@ module QA
def initialize(name, pattern = nil)
@name = name
@pattern = pattern || "qa-#{@name.to_s.gsub('_', '-')}"
@pattern = pattern || "qa-#{@name.to_s.tr('_', '-')}"
end
def expression
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment