lib/page-object/elements/heading.rb in meeane-page-object-0.1.10 vs lib/page-object/elements/heading.rb in meeane-page-object-0.1.11
- old
+ new
@@ -1,15 +1,15 @@
-module PageObject
- module Elements
- class Heading < Element
-
- end
-
- ::PageObject::Elements.tag_to_class[:h1] = ::PageObject::Elements::Heading
- ::PageObject::Elements.tag_to_class[:h2] = ::PageObject::Elements::Heading
- ::PageObject::Elements.tag_to_class[:h3] = ::PageObject::Elements::Heading
- ::PageObject::Elements.tag_to_class[:h4] = ::PageObject::Elements::Heading
- ::PageObject::Elements.tag_to_class[:h5] = ::PageObject::Elements::Heading
- ::PageObject::Elements.tag_to_class[:h6] = ::PageObject::Elements::Heading
-
- end
-end
+module PageObject
+ module Elements
+ class Heading < Element
+
+ end
+
+ ::PageObject::Elements.tag_to_class[:h1] = ::PageObject::Elements::Heading
+ ::PageObject::Elements.tag_to_class[:h2] = ::PageObject::Elements::Heading
+ ::PageObject::Elements.tag_to_class[:h3] = ::PageObject::Elements::Heading
+ ::PageObject::Elements.tag_to_class[:h4] = ::PageObject::Elements::Heading
+ ::PageObject::Elements.tag_to_class[:h5] = ::PageObject::Elements::Heading
+ ::PageObject::Elements.tag_to_class[:h6] = ::PageObject::Elements::Heading
+
+ end
+end