Sha256: 5417330fc1f9a6a1654c4f2b832e60874530a5f58c8d4b8be33a2b5cfcaabd49
Contents?: true
Size: 367 Bytes
Versions: 32
Compression:
Stored size: 367 Bytes
Contents
require "spec_helper" describe Blogit::Parsers::TextileParser do let(:parser) { Blogit::Parsers::TextileParser.new("h2. Some textile\n\np. A paragraph") } 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