spec/readers/bibtex_reader_spec.rb in bolognese-0.9.89 vs spec/readers/bibtex_reader_spec.rb in bolognese-0.9.91

- old
+ new

@@ -26,10 +26,10 @@ context "get bibtex metadata" do it "Crossref DOI" do expect(subject.valid?).to be true expect(subject.id).to eq("https://doi.org/10.7554/elife.01567") expect(subject.type).to eq("ScholarlyArticle") - expect(subject.url).to eq("http://elifesciences.org/lookup/doi/10.7554/eLife.01567") + expect(subject.b_url).to eq("http://elifesciences.org/lookup/doi/10.7554/eLife.01567") expect(subject.resource_type_general).to eq("Text") expect(subject.author.length).to eq(5) expect(subject.author.first).to eq("type"=>"Person", "name"=>"Martial Sankar", "givenName"=>"Martial", "familyName"=>"Sankar") expect(subject.title).to eq("Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth") expect(subject.description["text"]).to start_with("Among various advantages, their small size makes model organisms preferred subjects of investigation.")