diff options
Diffstat (limited to 'lib/rdoc/markup/formatter_test_case.rb')
-rw-r--r-- | lib/rdoc/markup/formatter_test_case.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/rdoc/markup/formatter_test_case.rb b/lib/rdoc/markup/formatter_test_case.rb index 26dc4b25e9..c739f990b3 100644 --- a/lib/rdoc/markup/formatter_test_case.rb +++ b/lib/rdoc/markup/formatter_test_case.rb @@ -120,6 +120,16 @@ class RDoc::Markup::FormatterTestCase < MiniTest::Unit::TestCase end ## + # Test case that calls <tt>@to.accept_document</tt> + + def test_accept_document + @to.start_accepting + @to.accept_document @RM::Document.new @RM::Paragraph.new 'hello' + + accept_document + end + + ## # Calls accept_heading with a level 5 RDoc::Markup::Heading def test_accept_heading |