Sha256: 44695b7339a0d1a4a3d6d4ae88f9e2dea3d7c22e49bd6778fa7a8d7309f182f1

Contents?: true

Size: 435 Bytes

Versions: 8

Compression:

Stored size: 435 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
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
page-object-0.6.6 spec/page-object/elements/table_cell_spec.rb
page-object-0.6.5 spec/page-object/elements/table_cell_spec.rb
page-object-0.6.4 spec/page-object/elements/table_cell_spec.rb
page-object-0.6.3 spec/page-object/elements/table_cell_spec.rb
page-object-0.6.2 spec/page-object/elements/table_cell_spec.rb
page-object-0.6.1 spec/page-object/elements/table_cell_spec.rb
page-object-0.6 spec/page-object/elements/table_cell_spec.rb
page-object-0.5.5 spec/page-object/elements/table_cell_spec.rb