Sha256: 64de6bf343c6170b4e55faa87a5850e2180dca1d2dada2dadfd9b0e0e3feb11d
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 Bytes
Contents
require 'test_helper' module Plotline class EntryPresenterTest < ActionView::TestCase test "custom markdown parsing" do @entry = plotline_entries(:sample) @entry.body = File.read(File.join('test', 'fixtures', 'markdown', 'document.md')) expected_output = File.read(File.join('test', 'fixtures', 'markdown', 'expected_output.html')) presenter = Plotline::EntryPresenter.new(@entry, view) assert_equal expected_output, presenter.body_markdown end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plotline-0.1.1 | test/presenters/entry_presenter_test.rb |
plotline-0.1.0 | test/presenters/entry_presenter_test.rb |