start of gollum tag markup processing

This commit is contained in:
Tom Preston-Werner
2010-04-18 11:16:37 -07:00
parent d78e2d200b
commit 37ef17f047
2 changed files with 83 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
require File.join(File.dirname(__FILE__), *%w[helper])
context "Markup" do
test "page link" do
data = "a [[Bilbo Baggins]] b"
output = Gollum::Markup.new("x.md", data).render
assert_equal %{<p>a <a href="Bilbo-Baggins">Bilbo Baggins</a> b</p>\n}, output
end
end