spec/writers/ris_writer_spec.rb in bolognese-0.9.36 vs spec/writers/ris_writer_spec.rb in bolognese-0.9.37

- old
+ new

@@ -9,11 +9,11 @@ ris = subject.ris.split("\r\n") expect(ris[0]).to eq("TY - JOUR") expect(ris[1]).to eq("T1 - Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth") expect(ris[2]).to eq("T2 - eLife") expect(ris[3]).to eq("AU - Sankar, Martial") - expect(ris[8]).to eq("DO - 10.7554/eLife.01567") + expect(ris[8]).to eq("DO - 10.7554/elife.01567") expect(ris[9]).to eq("UR - http://elifesciences.org/lookup/doi/10.7554/eLife.01567") expect(ris[10]).to eq("PY - 2014") expect(ris[11]).to eq("VL - 3") expect(ris[12]).to eq("ER - ") end @@ -111,10 +111,10 @@ subject = Bolognese::Metadata.new(input: input, from: "datacite_json") ris = subject.ris.split("\r\n") expect(ris[0]).to eq("TY - GEN") expect(ris[1]).to eq("T1 - Eating your own Dog Food") expect(ris[2]).to eq("AU - Fenner, Martin") - expect(ris[3]).to eq("DO - 10.5438/4K3M-NYVG") + expect(ris[3]).to eq("DO - 10.5438/4k3m-nyvg") expect(ris[4]).to eq("AB - Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for...") expect(ris[5]).to eq("KW - datacite") expect(ris[8]).to eq("PY - 2016") expect(ris[9]).to eq("PB - DataCite") expect(ris[10]).to eq("AN - MS-49-3632-5083")