Sha256: b0b917a7f7d53c09fb015f7a73825dd877e7f2bac322bdd47a1a562f91cbb0b1
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
require 'spec_helper' describe Markdownifier do it "converts markdown to html" do markdownifier = Markdownifier::Markdownifier.new input = "<h1>hello</h1>" output = markdownifier.html_to_markdown(input) expect(output.class).to eq(String) expect(output[0]).to eq('#') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
answers-core-0.0.0.2 | spec/lib/markdownifier_spec.rb |
answers-core-0.0.0 | spec/lib/markdownifier_spec.rb |