Sha256: 31a83dde7deaf56fdaf31604112b35d0a4cc5b6e82d13dac9f3eeef8182f0724

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

require 'rails_helper'

RSpec.describe Exposition::MarkdownHelper, type: :helper do
  describe "#markdown_to_html" do
    it "converts markdown into html" do
      expect(helper.markdown_to_html("this *is* really great")).
        to eq("<p>this <em>is</em> really great</p>\n")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
exposition-0.0.5.7.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.6.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.5.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.4.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.2.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.1.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.5.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.4.pre.alpha spec/helpers/markdown_helper_spec.rb
exposition-0.0.3.pre.alpha spec/helpers/markdown_helper_spec.rb