Fix rubocop offense in QA page element class
This commit is contained in:
parent
d5a92c53dd
commit
a5cfd5a69e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue