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

Version Path
blogit-admin-0.0.1 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-1.0.0.rc1 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.8.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.7.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.6.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.5.1 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.5.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.8 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.7 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.6 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.5 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.4 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.3 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.2 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.1 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.4.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.3.2 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.3.1 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.3.0 spec/lib/blogit/parsers/html_parser_spec.rb
blogit-0.2.1 spec/lib/parsers/html_parser_spec.rb