Sha256: 1dcca80236eeb05eacf3eaa041ea66e1d8a356d2547440cfaca7599392c1446a

Contents?: true

Size: 588 Bytes

Versions: 7

Compression:

Stored size: 588 Bytes

Contents

shared_examples 'has_dc_metadata' do

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

  # Multivalued fields
  it { should have_multivalue_field(:content_format) }
  it { should have_multivalue_field(:description) }
  it { should have_multivalue_field(:identifier) }
  it { should have_multivalue_field(:publisher) }
  it { should have_multivalue_field(:source) }
  it { should have_multivalue_field(:language) }
  it { should have_multivalue_field(:subject) }

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
curation_concerns-0.1.0 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.1.2 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.1.1 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.1.0 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.0.3 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.0.2 spec/support/shared/shared_examples_has_dc_metadata.rb
worthwhile-0.0.1 spec/support/shared/shared_examples_has_dc_metadata.rb