spec/druid/elements/radio_button_spec.rb in druid-ts-1.2.4 vs spec/druid/elements/radio_button_spec.rb in druid-ts-1.2.5
- old
+ new
@@ -5,19 +5,9 @@
describe "interface" do
let(:element) { double("element") }
let(:driver) { double("driver") }
let(:radio) { Druid::Elements::RadioButton.new(element)}
- it "should select" do
- expect(element).to receive(:set)
- radio.select
- end
-
- it "should know if it is selected" do
- expect(element).to receive(:set?)
- radio.selected?
- end
-
it "should register as type :radio" do
expect(Druid::Elements.element_class_for(:input, :radio)).to be Druid::Elements::RadioButton
end
end
end