Sha256: f54e8aa32b083f490ce68d0ef157cb0d3be9edc78d86e7c078add25fc39bf84a

Contents?: true

Size: 735 Bytes

Versions: 13

Compression:

Stored size: 735 Bytes

Contents

shared_examples 'has_dc_metadata' do

  # Single-valued fields
  it { should have_unique_field(:created) }
  it { should have_unique_field(:description) }
  it { should have_unique_field(:date_uploaded) }
  it { should have_unique_field(:date_modified) }
  it { should have_unique_field(:content_format) }
  it { should have_unique_field(:identifier) }

  # Multivalued fields
  it { should have_multivalue_field(:publisher) }
  it { should have_multivalue_field(:bibliographic_citation) }
  it { should have_multivalue_field(:source) }
  it { should have_multivalue_field(:language) }
  it { should have_multivalue_field(:extent) }
  it { should have_multivalue_field(:requires) }
  it { should have_multivalue_field(:subject) }

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.6.5 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.6.4 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.6.3 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.6.1 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.6.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.6 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.5 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.4 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.2 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.1 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.5.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curate-0.4.2 spec/support/shared/shared_examples_has_dc_metadata.rb