Sha256: efc3d73a373a6b4bb7aa777383f3d0c90b1b70c4de33584b5c270685a8fe3c5f
Contents?: true
Size: 354 Bytes
Versions: 2
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require_relative "../test_helper" require "mdv/document" describe MDV::Document do let(:document) { MDV::Document.new("test/fixtures/test.md") } describe "#html" do it "renders the correct html" do _(document.html) .must_equal "<h1>Test</h1>\n\n<p>This is a test document.</p>\n" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mdv-0.5.1 | test/mdv/document_test.rb |
mdv-0.5.0 | test/mdv/document_test.rb |