spec/writers/datacite_writer_spec.rb in bolognese-1.9.7 vs spec/writers/datacite_writer_spec.rb in bolognese-1.9.8

- old
+ new

@@ -220,10 +220,10 @@ "schemeUri"=>"https://spdx.org/licenses/"}]) expect(subject.dates).to eq([{"date"=>"2011-02-01T17:22:41Z", "dateType"=>"Available"}, {"date"=>"2011", "dateType"=>"Issued"}]) expect(subject.publication_year).to eq("2011") expect(subject.related_identifiers.length).to eq(1) expect(subject.related_identifiers.last).to eq("relatedIdentifier" => "10.1371/journal.ppat.1000446", - "relatedIdentifierType" => "DOI","relationType"=>"IsSupplementTo") + "relatedIdentifierType" => "DOI","relationType"=>"Cites") expect(subject.publisher).to eq("Dryad") expect(subject.agency).to eq("datacite") expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4") datacite = Maremma.from_xml(subject.datacite).fetch("resource", {})