Sha256: 5b80f9e5e54191e1f8071561dace4550e41b44587602df33a66f46abc5d3d237
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
require "spec_helper" require "pricecut" describe Pricecut::Elements::Blockquote do let(:visitor) { Pricecut::MarkdownVisitor.new } let(:root) do parse %<<blockquote>Blockquote</blockquote>> end subject { described_class.new(visitor, root) } describe "#output!" do it "appends a Markdown blockquote to the output" do subject.output! visitor.output.should eq("> Blockquote") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pricecut-0.0.3 | spec/pricecut/elements/blockquote_spec.rb |