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
1 changed files with 1 additions and 1 deletions

View File

@ -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