Skip to content

Commit

Permalink
this restores the mistakenly changed predicate for the date metadata …
Browse files Browse the repository at this point in the history
…property
  • Loading branch information
jenlindner committed Jan 4, 2018
1 parent d10e934 commit df1b0b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/schemas/core_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Schemas
class CoreMetadata < ActiveTriples::Schema
property :date, predicate: RDF::Vocab::DWC.verbatimEventDate
property :date, predicate: RDF::Vocab::DC11.date
property :date_label, predicate: RDF::Vocab::DWC.verbatimEventDate
property :keyword, predicate: RDF::Vocab::SCHEMA.keywords
property :rights_note, predicate: RDF::Vocab::DC11.rights
Expand Down
2 changes: 1 addition & 1 deletion spec/support/shared_examples/core_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
RSpec.shared_examples 'a model with ohsu core metadata' do
subject(:model) { described_class.new }

it { is_expected.to have_editable_property(:date, RDF::Vocab::DWC.verbatimEventDate) }
it { is_expected.to have_editable_property(:date, RDF::Vocab::DC11.date) }
it { is_expected.to have_editable_property(:date_label, RDF::Vocab::DWC.verbatimEventDate) }
it { is_expected.to have_editable_property(:description, RDF::Vocab::DC11.description) }
it { is_expected.to have_editable_property(:keyword, RDF::Vocab::SCHEMA.keywords) }
Expand Down

0 comments on commit df1b0b7

Please sign in to comment.