mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
default to no layout; makes dealing with binary files easier
This commit is contained in:
@@ -30,7 +30,7 @@ class TestPost < Test::Unit::TestCase
|
||||
p = Post.allocate
|
||||
p.read_yaml(File.join(File.dirname(__FILE__), *%w[source posts]), "2008-10-18-foo-bar.textile")
|
||||
|
||||
assert_equal({"title" => "Foo Bar"}, p.data)
|
||||
assert_equal({"title" => "Foo Bar", "layout" => "default"}, p.data)
|
||||
assert_equal "\nh1. {{ page.title }}\n\nBest *post* ever", p.content
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user