Sha256: c4a590d0d1f5d794c40c71cd1901a4bfb9facc7e27d7367851df971468e87ea2

Contents?: true

Size: 404 Bytes

Versions: 5

Compression:

Stored size: 404 Bytes

Contents

require 'spec_helper'
require 'druid/elements'

describe Druid::Elements::TableCell do
  describe "interface" do
    it "should register with tag_name :td" do
      expect(Druid::Elements.element_class_for(:td)).to be Druid::Elements::TableCell
    end

    it "should register with tag_name :th" do
      expect(Druid::Elements.element_class_for(:th)).to be Druid::Elements::TableCell
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
druid-s-1.0.0 spec/druid/elements/table_cell_spec.rb
druid-ts-1.2.6 spec/druid/elements/table_cell_spec.rb
druid-ts-1.2.5 spec/druid/elements/table_cell_spec.rb
druid-ts-1.2.4 spec/druid/elements/table_cell_spec.rb
druid-ts-1.2.3 spec/druid/elements/table_cell_spec.rb