Fix rubocop offense in QA page element class
This commit is contained in:
parent
d5a92c53dd
commit
a5cfd5a69e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue