spec/druid/elements/file_field_spec.rb in druid-ts-1.2.4 vs spec/druid/elements/file_field_spec.rb in druid-ts-1.2.5

- old
+ new

@@ -4,14 +4,9 @@ describe Druid::Elements::FileField do describe "interface" do let(:element) { double 'element' } let(:file_field) { Druid::Elements::FileField.new(element) } - it "should set its' value" do - expect(element).to receive(:set).with('a file') - file_field.value = 'a file' - end - it "should register as type :file" do expect(Druid::Elements.element_class_for(:input, :file)).to be Druid::Elements::FileField end end end