Sha256: 9660128d79cefc09bb8f20cd32fac546fa66d080910002ab991098b0de8f5340
Contents?: true
Size: 639 Bytes
Versions: 5
Compression:
Stored size: 639 Bytes
Contents
require 'helper' class TestSection < Test::Unit::TestCase def setup @doc = File.read("test/data/example.tpd") end def teardown end should "parse with no exceptions" do assert_nothing_raised do s = Typedown::Section.new "Mail subject", @doc end end should "reassemble doc with no exceptions using new" do assert_nothing_raised do s = Typedown::Section.new "Mail subject", @doc end end should "reassemble doc with no exceptions using self.sectionize" do assert_nothing_raised do s = Typedown::Section.sectionize @doc, "Mail subject" puts "\n\n", s.doc end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
typedown-0.0.6 | test/test_section.rb |
typedown-0.0.5 | test/test_section.rb |
typedown-0.0.4 | test/test_section.rb |
typedown-0.0.3 | test/test_section.rb |
typedown-0.0.2 | test/test_section.rb |