Fix rubocop offense in QA page element class

This commit is contained in:
Grzegorz Bizon 2018-01-09 11:29:19 +01:00
parent d5a92c53dd
commit a5cfd5a69e

View file

@ -5,7 +5,7 @@ module QA
def initialize(name, pattern = nil) def initialize(name, pattern = nil)
@name = name @name = name
@pattern = pattern || "qa-#{@name.to_s.gsub('_', '-')}" @pattern = pattern || "qa-#{@name.to_s.tr('_', '-')}"
end end
def expression def expression