Sha256: 2da1c7b35fbb2868d1473602166fa9e61b013141b446d8b4c1f2927559ee41bb
Contents?: true
Size: 879 Bytes
Versions: 5
Compression:
Stored size: 879 Bytes
Contents
# coding: utf-8 require_relative "citation_helper" describe "cite macro with apa style" do it "formats a complex citation" do expect(formatted_citation("cite:[Erdos65, prefix=see]+[Einstein35, page=41-43]", options: { "bibliography-style" => "apa", "bibliography-hyperlinks" => "true" })). to eq "(xref:bibliography-Einstein35[Einstein, Podolsky, & Rosen, 1935, pp. 41-43]; " + "xref:bibliography-Erdos65[seeErdős, Heyting, & Brouwer, 1965])" end end describe "fullcite macro with apa style" do it "formats a complex citation" do expect(formatted_citation("fullcite:[Erdos65]", options: { "bibliography-style" => "apa" })). to eq "Erdős, P., Heyting, A., & Brouwer, L. E. (1965). Some very hard sums. _Difficult Maths Today_, 30." end end
Version data entries
5 entries across 5 versions & 1 rubygems