Sha256: aeb6280e98c8c8f9dac6c53db99ca98e5599b6d123d07beb63333c901ff4d616
Contents?: true
Size: 440 Bytes
Versions: 12
Compression:
Stored size: 440 Bytes
Contents
require 'helper' require 'turnip_formatter/renderer/html/doc_string' module TurnipFormatter::Renderer::Html class TestDocString < Test::Unit::TestCase def test_render renderer = DocString.new(<<-'EOS') I Am a Cat EOS document = html_parse(renderer.render).at_xpath('pre') assert_equal('step_doc_string', document.get('class')) assert_equal('I Am a Cat', document.text.strip) end end end
Version data entries
12 entries across 12 versions & 1 rubygems