Sha256: b08e16d23d29f490f7518f98885b438cae9d8312586b8bc97444843abf2af84e

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# coding: utf-8

require "asciidoctor-bibliography"
require_relative "../../../citation_helper"

describe "custom :adoc citeproc format" do
  let(:options) { { "bibliography-style" => "ieee", "bibliography-database" => "database.bib" } }

  it "adds space between first and second field" do
    expect(formatted_bibliography("cite:[Gettier63]", options: options)).
      to eq "[1] E. L. Gettier, β€œIs justified true belief knowledge?,” _analysis_, vol. 23, no. 6, pp. 121–123, 1963."
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-bibliography-0.7.2 spec/citeproc/ruby/formats/adoc_spec.rb
asciidoctor-bibliography-0.7.0 spec/citeproc/ruby/formats/adoc_spec.rb
asciidoctor-bibliography-0.6.0 spec/citeproc/ruby/formats/adoc_spec.rb