Sha256: 7b9b40523e90c807b3b1537cf40559ed30995edfc55a6393d00e25a47a741b6b

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'
require 'druid/elements'

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

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

Version data entries

3 entries across 3 versions & 2 rubygems

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