Sha256: 31f793c718ce7dc1a206d5d88b5343f26c89386ab74a00a22dc7aca3aa21f6c8

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'
require 'druid/elements'

describe Druid::Elements::CheckBox do
  describe "interface" do
    let(:element) { double 'element' }
    let(:checkbox) { Druid::Elements::CheckBox.new(element) }

    it "should register with type :checkbox" do
      expect(Druid::Elements.element_class_for(:input, :checkbox)).to be Druid::Elements::CheckBox
    end

  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

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