More passing tests.

This commit is contained in:
Parker Moore 2014-09-07 12:52:37 -07:00
parent 3b634134a0
commit 4078bde3ba
2 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,6 @@ class TestDocument < Test::Unit::TestCase
"destination" => dest_dir
}))
@site.process
p @site.collections["methods"]
@document = @site.collections["methods"].docs.first
end
@ -225,7 +224,6 @@ class TestDocument < Test::Unit::TestCase
"destination" => dest_dir
}))
@site.process
p @site.collections["slides"]
@document = @site.collections["slides"].docs[3]
@document_without_title = @site.collections["slides"].docs[4]
end

View File

@ -15,8 +15,11 @@ class TestPage < Test::Unit::TestCase
context "A Page" do
setup do
clear_dest
stub(Jekyll).configuration { Jekyll::Configuration::DEFAULTS }
@site = Site.new(Jekyll.configuration)
@site = Site.new(Jekyll.configuration({
"source" => source_dir,
"destination" => dest_dir,
"skip_config_files" => true
}))
end
context "processing pages" do