lib/page-object/elements/canvas.rb in page-object-2.2 vs lib/page-object/elements/canvas.rb in page-object-2.2.1

- old
+ new

@@ -1,11 +1,10 @@ - module PageObject module Elements class Canvas < Element - end + ::PageObject::Elements.type_to_class[:canvas] = ::PageObject::Elements::Canvas end end