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