Sha256: e52975641b51576586fa22bb241e39b5442c0e1b830411d595c61cdfe5a32e71

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

require 'spec_helper'
require 'druid/elements'

describe Druid::Elements::RadioButton do
  describe "interface" do
    let(:element) { double("element") }
    let(:driver) { double("driver") }
    let(:radio) { Druid::Elements::RadioButton.new(element)}

    it "should register as type :radio" do
      expect(Druid::Elements.element_class_for(:input, :radio)).to be Druid::Elements::RadioButton
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

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