Sha256: f13c4ec4e6058219f387d6fa66de88ea9450e75148dbba4b06e4edfb2f15a085

Contents?: true

Size: 586 Bytes

Versions: 66

Compression:

Stored size: 586 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

66 entries across 66 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.7 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-2.0.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-2.0.0.rc2 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.6 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.5 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.4 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.3 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.2 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-2.0.0.rc1 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.1 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.7.0.beta1 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.6.3 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.6.2 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.6.1 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.6.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.5.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.4.0 spec/support/shared/shared_examples_has_dc_metadata.rb
curation_concerns-1.3.3 spec/support/shared/shared_examples_has_dc_metadata.rb