spec/readers/crossref_reader_spec.rb in bolognese-0.10.14 vs spec/readers/crossref_reader_spec.rb in bolognese-0.10.15

- old
+ new

@@ -214,12 +214,12 @@ expect(subject.additional_type).to eq("JournalArticle") expect(subject.resource_type_general).to eq("Text") expect(subject.author.length).to eq(3) expect(subject.author.first).to eq("type"=>"Person", "id"=>"http://orcid.org/0000-0002-4156-3761", "name"=>"Nico Dissmeyer", "givenName"=>"Nico", "familyName"=>"Dissmeyer") expect(subject.title).to eq("Life and death of proteins after protease cleavage: protein degradation by the N-end rule pathway") - expect(subject.license).to eq([{"id"=>"http://doi.wiley.com/10.1002/tdm_license_1"}, {"id"=>"http://onlinelibrary.wiley.com/termsAndConditions"}]) - expect(subject.date_published).to eq("2017-06-05") - expect(subject.date_modified).to eq("2017-06-05T10:56:59Z") + expect(subject.license).to eq([{"id"=>"http://doi.wiley.com/10.1002/tdm_license_1.1"}, {"id"=>"http://onlinelibrary.wiley.com/termsAndConditions"}]) + expect(subject.date_published).to eq("2018-05") + expect(subject.date_modified).to eq("2018-04-16T09:28:43Z") expect(subject.is_part_of).to eq("type"=>"Periodical", "title"=>"New Phytologist", "issn"=>"0028646X") expect(subject.container_title).to eq("New Phytologist") expect(subject.service_provider).to eq("Crossref") end