spec/writers/ris_writer_spec.rb in bolognese-0.9.20 vs spec/writers/ris_writer_spec.rb in bolognese-0.9.21
- old
+ new
@@ -27,13 +27,14 @@
expect(ris[1]).to eq("T1 - Delineating a Retesting Zone Using Receiver Operating Characteristic Analysis on Serial QuantiFERON Tuberculosis Test Results in US Healthcare Workers")
expect(ris[2]).to eq("T2 - Pulmonary Medicine")
expect(ris[3]).to eq("AU - Thanassi, Wendy")
expect(ris[10]).to eq("DO - 10.1155/2012/291294")
expect(ris[11]).to eq("UR - http://www.hindawi.com/journals/pm/2012/291294/")
- expect(ris[12]).to eq("PY - 2012")
- expect(ris[13]).to eq("VL - 2012")
- expect(ris[14]).to eq("SP - 1-7")
- expect(ris[15]).to eq("ER - ")
+ expect(ris[12]).to start_with("AB - . To find a statistically significant separation point for the QuantiFERON")
+ expect(ris[13]).to eq("PY - 2012")
+ expect(ris[14]).to eq("VL - 2012")
+ expect(ris[15]).to eq("SP - 1-7")
+ expect(ris[16]).to eq("ER - ")
end
it "Crossref DOI" do
input = fixture_path + "crossref.bib"
subject = Bolognese::Metadata.new(input: input, from: "bibtex")