Sha256: 97376e5739a06ca2fcf23cd7123ab55975cfb01f0263584880054abc58c9bbee

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'
require 'druid/elements'

describe Druid::Elements::TextArea do
  describe "interface" do
    let(:element) { double "element" }
    let(:text_area) { Druid::Elements::TextArea.new(element) }

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
druid-s-1.0.0 spec/druid/elements/text_area_spec.rb
druid-ts-1.2.6 spec/druid/elements/text_area_spec.rb
druid-ts-1.2.5 spec/druid/elements/text_area_spec.rb