spec/datacite_utils_spec.rb in bolognese-0.8.5 vs spec/datacite_utils_spec.rb in bolognese-0.8.7
- old
+ new
@@ -15,10 +15,10 @@
context "insert_creators" do
it "insert" do
xml = Nokogiri::XML::Builder.new { |xml| subject.insert_creators(xml) }.to_xml
response = Maremma.from_xml(xml)
- expect(response.dig("creators", "creator").first).to eq("creatorName"=>"Benjamin Ollomo", "givenName"=>"Benjamin", "familyName"=>"Ollomo")
+ expect(response.dig("creators", "creator").first).to eq("creatorName"=>"Ollomo, Benjamin", "givenName"=>"Benjamin", "familyName"=>"Ollomo")
end
end
context "insert_contributors" do
it "none" do