Sha256: f9fcdd0eebbe90486da7fd3204367bbffd4bd8e268f207b814de1bcd7f78bf9c

Contents?: true

Size: 596 Bytes

Versions: 8

Compression:

Stored size: 596 Bytes

Contents

# coding: utf-8

require_relative "citation_helper"

describe AsciidoctorBibliography::Index do
    describe ".render" do
        subject { described_class.new([], "default", "") }

        it "does not fail when no citations occur in the document" do
            options = { "bibliography-style" => "ieee", "bibliography-database" => "database.bibtex", "bibliography-passthrough" => "true", "bibliography-prepend-empty" => "false" }
            bibliographer = init_bibliographer options: options
            expect { subject.render bibliographer}.to_not raise_exception
        end
    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asciidoctor-bibliography-0.11.0 spec/index_spec.rb
asciidoctor-bibliography-0.10.3 spec/index_spec.rb
asciidoctor-bibliography-0.10.2 spec/index_spec.rb
asciidoctor-bibliography-0.10.1 spec/index_spec.rb
asciidoctor-bibliography-0.10.0 spec/index_spec.rb
asciidoctor-bibliography-0.9.2 spec/index_spec.rb
asciidoctor-bibliography-0.9.1 spec/index_spec.rb
asciidoctor-bibliography-0.9.0 spec/index_spec.rb