spec/support/components/netzke_combobox.rb in marty-8.2.0 vs spec/support/components/netzke_combobox.rb in marty-8.3.1
- old
+ new
@@ -10,10 +10,10 @@
attr_reader :name, :combobox
def initialize(name)
@name = name
- if /^\d+$/.match(name)
+ if /^\d+$/.match?(name)
@combobox = ext_find('combobox', nil, name)
else
@combobox = ext_combo(name)
end
end