Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add markdown test

  • Loading branch information...
commit fbdcf469c454299eef8d39624a1dd01d06b36cc6 1 parent bcb67ec
@mojombo mojombo authored
View
0  test/source/_includes/sig.textile → test/source/_includes/sig.markdown
File renamed without changes
View
8 test/source/_posts/2008-12-13-include.markdown
@@ -0,0 +1,8 @@
+---
+layout: default
+title: Include
+---
+
+{% include sig.markdown %}
+
+This _is_ cool
View
6 test/source/_posts/2008-12-13-include.textile
@@ -1,6 +0,0 @@
----
-layout: default
-title: Include
----
-
-{% include sig.textile %}
View
4 test/test_post.rb
@@ -86,10 +86,10 @@ def test_data
def test_include
Jekyll.source = File.join(File.dirname(__FILE__), *%w[source])
- p = Post.new(File.join(File.dirname(__FILE__), *%w[source _posts]), "2008-12-13-include.textile")
+ p = Post.new(File.join(File.dirname(__FILE__), *%w[source _posts]), "2008-12-13-include.markdown")
layouts = {"default" => Layout.new(File.join(File.dirname(__FILE__), *%w[source _layouts]), "simple.html")}
p.add_layout(layouts, {"site" => {"posts" => []}})
- assert_equal "<<< <p>&#8212;<br />\nTom Preston-Werner<br />\ngithub.com/mojombo</p> >>>", p.output
+ assert_equal "<<< <hr />\n<p>Tom Preston-Werner github.com/mojombo</p>\n\n<p>This <em>is</em> cool</p> >>>", p.output
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.