Sha256: e5ee4e82da02f3bd33c4cdb496c3759aebd4ed3ed89c15f2c7175a746655774c
Contents?: true
Size: 687 Bytes
Versions: 5
Compression:
Stored size: 687 Bytes
Contents
require 'spec_helper' require 'page-object/elements' describe PageObject::Elements::TableCell do context "interface" do it "should register with tag_name :td" do ::PageObject::Elements.element_class_for(:td).should == ::PageObject::Elements::TableCell end it "should register with tag_name :th" do ::PageObject::Elements.element_class_for(:th).should == ::PageObject::Elements::TableCell end it "should always be enabled" do table_cell_element = double('table_cell_element') table_cell = PageObject::Elements::TableCell.new(table_cell_element, :platform => :selenium_webdriver) table_cell.enabled?.should be true end end end
Version data entries
5 entries across 5 versions & 2 rubygems