mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 17:28:29 -05:00
fix tests
This commit is contained in:
@@ -124,7 +124,7 @@ class TestSite < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
should "read posts" do
|
||||
@site.read_posts('')
|
||||
@site.read_posts('', '_posts')
|
||||
posts = Dir[source_dir('_posts', '*')]
|
||||
assert_equal posts.size - 1, @site.posts.size
|
||||
end
|
||||
|
||||
@@ -11,7 +11,7 @@ class TestTags < Test::Unit::TestCase
|
||||
site = Site.new(Jekyll.configuration)
|
||||
|
||||
if override['read_posts']
|
||||
site.read_posts('')
|
||||
site.read_posts('', '_posts')
|
||||
end
|
||||
|
||||
info = { :filters => [Jekyll::Filters], :registers => { :site => site } }
|
||||
|
||||
Reference in New Issue
Block a user