Skip to content

Commit

Permalink
facotory for orcid events
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza committed Jan 31, 2020
1 parent 6697045 commit dd885d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/factories/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,5 +358,14 @@
relation_type_id { "unique-dataset-investigations-regular" }
occurred_at { "2015-06-13T16:14:19Z" }
end

factory :event_for_datacite_orcid_auto_update do
source_id { "datacite-orcid-auto-updatee" }
source_token { "5348967fhdjksr3wyui325" }
sequence(:obj_id) { |n| "https://orcid.org/0000-0003-1419-211#{n}}" }
sequence(:subj_id) { |n| "http://doi.org/10.5061/DRYAD.47SD5e/#{n}" }
relation_type_id { "is-authored-by" }
occurred_at { "2015-06-13T16:14:19Z" }
end
end
end

0 comments on commit dd885d2

Please sign in to comment.