Sha256: ccbd07c1c18c8b0553c7ebb06e530e5b4540d4df15f1856ba66f94bfa6f170da
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
require "spec_helper" require "pricecut" describe Pricecut::Elements::H5 do let(:visitor) { Pricecut::MarkdownVisitor.new } let(:root) do parse %<<h5>Heading</h5>> end subject { described_class.new(visitor, root) } describe "#output!" do it "appends a Markdown header with newline to the output" do subject.output! visitor.output.should eq("##### Heading #####\n") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pricecut-0.0.2 | spec/pricecut/elements/h5_spec.rb |