Sha256: f20a8d2b53c2add24c38ef7cad69b5ce77b103ae3ae4c5a459595726b4f7ff97

Contents?: true

Size: 579 Bytes

Versions: 124

Compression:

Stored size: 579 Bytes

Contents

require 'rdoc/test_case'

class TestRDocRd < RDoc::TestCase

  def test_class_parse
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("hello")
  end

  def test_class_parse_begin_end
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("=begin\nhello\n=end\n")
  end

  def test_class_parse_newline
    expected =
      @RM::Document.new(
        @RM::Paragraph.new('hello'))

    assert_equal expected, RDoc::RD.parse("hello\n")
  end

end

Version data entries

124 entries across 98 versions & 24 rubygems

Version Path
graphael-on-rails-0.5.1 vendor/bundle/gems/rdoc-3.12.1/test/test_rdoc_rd.rb
graphael-on-rails-0.0.1 vendor/bundle/gems/rdoc-3.12.1/test/test_rdoc_rd.rb
challah-0.9.1.beta.3 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
rdoc-4.0.0.rc.2 test/test_rdoc_rd.rb
rdoc-3.12.1 test/test_rdoc_rd.rb
devise_sociable-0.1.0 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
backbone-queryparams-rails-0.0.1 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
railscast-assets-0.0.2 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
railscast-assets-0.0.2 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
backbone-deep-rails-0.0.1 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
challah-0.9.1.beta vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rdoc-3.12/test/test_rdoc_rd.rb
challah-0.9.0 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/jquery_regex-0.0.1/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb
jquery_regex-0.0.3 vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb