diff --git a/tests/bibtex.rb b/tests/bibtex.rb index 8b898fe..11a69e1 100755 --- a/tests/bibtex.rb +++ b/tests/bibtex.rb @@ -19,3 +19,19 @@ Repubmark::References::Item ref.authors[0].last == 'Cohen' && ref.authors[0].first == 'P. J.' end + +Repubmark::References::Item + .from_bibtex('citekey-techreport', bib[:CitekeyTechreport]) + .tap do |ref| + p ref + raise unless + ref.title == 'Wasatch Solar Project Final Report' && + ref.year == 2018 && + ref.authors.size == 3 && + ref.authors[0].last == 'Bennett' && + ref.authors[0].first == 'Vicki' && + ref.authors[1].last == 'Bowman' && + ref.authors[1].first == 'Kate' && + ref.authors[2].last == 'Wright' && + ref.authors[2].first == 'Sarah' + end