Sha256: 8b787d86b47c6fa66b8fd3932095355f50cad3f9795e94908305fe2857847209
Contents?: true
Size: 325 Bytes
Versions: 4
Compression:
Stored size: 325 Bytes
Contents
require 'test_helper' class DocumentTest < Test::Unit::TestCase # setup for test def setup @doc = example_document(:asciidoc_index) end def test_title assert_equal "AsciiDoc Home Page", @doc.title end def test_with_no_title d = Asciidoctor::Document.new(["Snorf"]) assert_nil d.title end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-0.0.5 | test/document_test.rb |
asciidoctor-0.0.4 | test/document_test.rb |
asciidoctor-0.0.3 | test/document_test.rb |
asciidoctor-0.0.2 | test/document_test.rb |