Skip to content

Commit

Permalink
Pass options to to_html, to make test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Oct 25, 2015
1 parent 7d3523a commit 80d7d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_smartpunct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def test_smart_hardbreak_no_spaces_render_doc
markdown = "\"foo\"\nbaz"
result = "<p>“foo”<br />\nbaz</p>\n"
doc = CommonMarker.render_doc(markdown, [:smart, :hardbreaks])
assert_equal result, doc.to_html
assert_equal result, doc.to_html([:smart, :hardbreaks])
end
end

0 comments on commit 80d7d0d

Please sign in to comment.