spec/readers/crossref_reader_spec.rb in bolognese-2.3.0 vs spec/readers/crossref_reader_spec.rb in bolognese-2.3.2
- old
+ new
@@ -1098,10 +1098,10 @@
expect(subject.agency).to eq("crossref")
expect(subject.state).to eq("not_found")
end
it "with Schema 4.6 Translator contributor" do
- input = fixture_path + 'crossref.xml'
+ input = fixture_path + 'crossref_schema_4.6_values.xml'
subject = Bolognese::Metadata.new(input: input)
expect(subject.contributors).to eq([
{"givenName"=>"Ashwini", "familyName"=>"Sukale", "name"=>"Sukale, Ashwini", "nameType"=>"Personal", "affiliation"=>[{"name"=>"DataCite"}], "contributorType"=>"Editor"},
{"givenName"=>"Cody", "familyName"=>"Ross", "name"=>"Ross, Cody", "nameType"=>"Personal", "affiliation"=>[{"name"=>"DataCite"}], "contributorType"=>"Translator"},