spec/readers/crossref_reader_spec.rb in briard-2.8.1 vs spec/readers/crossref_reader_spec.rb in briard-2.8.2
- old
+ new
@@ -697,11 +697,11 @@
expect(subject.creators.length).to eq(2)
expect(subject.creators.first).to eq('nameType' => 'Personal', 'name' => 'Diercks, Ronald L.',
'givenName' => 'Ronald L.', 'familyName' => 'Diercks')
expect(subject.titles).to eq([{ 'title' => 'Clinical Symptoms and Physical Examinations' }])
expect(subject.dates).to eq([{ 'date' => '2015', 'dateType' => 'Issued' },
- { 'date' => '2015-04-13T22:31:13Z', 'dateType' => 'Updated' }])
+ { 'date' => '2015-04-14T02:31:13Z', 'dateType' => 'Updated' }])
expect(subject.publication_year).to eq('2015')
expect(subject.publisher).to eq('Springer Science and Business Media LLC')
expect(subject.agency).to eq('Crossref')
expect(subject.container['type']).to eq('Book')
expect(subject.container['title']).to eq('Shoulder Stiffness')
@@ -742,10 +742,10 @@
'resourceType' => 'BookChapter', 'resourceTypeGeneral' => 'BookChapter', 'ris' => 'CHAP', 'schemaOrg' => 'Chapter')
expect(subject.creators).to eq([{ 'affiliation' => [{ 'name' => 'Universit?? de Lyon, France' }],
'familyName' => 'Bichot', 'givenName' => 'Charles-Edmond', 'name' => 'Bichot, Charles-Edmond', 'nameType' => 'Personal' }])
expect(subject.titles).to eq([{ 'title' => 'Unsupervised and Supervised Image Segmentation Using Graph Partitioning' }])
expect(subject.dates).to eq([{ 'date' => '2012-08-08', 'dateType' => 'Issued' },
- {"date"=>"2019-07-02T13:17:21Z", "dateType"=>"Updated"}])
+ {"date"=>"2019-07-02T17:17:21Z", "dateType"=>"Updated"}])
expect(subject.publication_year).to eq('2012')
expect(subject.publisher).to eq('IGI Global')
expect(subject.agency).to eq('Crossref')
expect(subject.container['type']).to eq('Book')
expect(subject.container['title']).to eq('Graph-Based Methods in Computer Vision')