lib/page-object/elements/table_cell.rb in meeane-page-object-0.1.10 vs lib/page-object/elements/table_cell.rb in meeane-page-object-0.1.11

- old
+ new

@@ -1,28 +1,28 @@ -module PageObject - module Elements - class TableCell < Element - - # - # return true if the element is enabled - # - def enabled? - true - end - - protected - - def self.watir_finders - super + [:text] - end - - def self.selenium_finders - super + [:text] - end - - end - - ::PageObject::Elements.tag_to_class[:td] = ::PageObject::Elements::TableCell - ::PageObject::Elements.tag_to_class[:th] = ::PageObject::Elements::TableCell - - end -end +module PageObject + module Elements + class TableCell < Element + + # + # return true if the element is enabled + # + def enabled? + true + end + + protected + + def self.watir_finders + super + [:text] + end + + def self.selenium_finders + super + [:text] + end + + end + + ::PageObject::Elements.tag_to_class[:td] = ::PageObject::Elements::TableCell + ::PageObject::Elements.tag_to_class[:th] = ::PageObject::Elements::TableCell + + end +end