mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
delete old superfluous tests; extend feature
This commit is contained in:
@@ -415,16 +415,6 @@ class TestPost < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
context "initializing posts" do
|
||||
should "publish when published yaml is no specified" do
|
||||
post = setup_post("2008-02-02-published.textile")
|
||||
assert_equal true, @site.send(:publisher).publish?(post)
|
||||
end
|
||||
|
||||
should "not published when published yaml is false" do
|
||||
post = setup_post("2008-02-02-not-published.textile")
|
||||
assert_equal false, @site.send(:publisher).publish?(post)
|
||||
end
|
||||
|
||||
should "recognize date in yaml" do
|
||||
post = setup_post("2010-01-09-date-override.textile")
|
||||
do_render(post)
|
||||
|
||||
Reference in New Issue
Block a user