Sha256: 4719e3f17586079401b18294e864330e88855ec743386c2cb1168fa030aafaa1
Contents?: true
Size: 371 Bytes
Versions: 32
Compression:
Stored size: 371 Bytes
Contents
require "spec_helper" describe Blogit::Parsers::HtmlParser do let(:parser) { Blogit::Parsers::TextileParser.new("<h2>Some textile</h2>\n<p>A paragraph</p>") } let(:desired_output) { "<h2>Some textile</h2>\n<p>A paragraph</p>" } it "should return an html string of content passed when calling parsed" do parser.parsed.should == desired_output end end
Version data entries
32 entries across 32 versions & 2 rubygems