mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Fix up tests
This commit is contained in:
@@ -37,8 +37,7 @@ class Test::Unit::TestCase
|
||||
def site_configuration(overrides = {})
|
||||
full_overrides = build_configs(overrides, build_configs({"destination" => dest_dir}))
|
||||
build_configs({
|
||||
"source" => source_dir,
|
||||
"full_rebuild" => true
|
||||
"source" => source_dir
|
||||
}, full_overrides)
|
||||
end
|
||||
|
||||
|
||||
@@ -5,15 +5,13 @@ class TestRegenerator < Test::Unit::TestCase
|
||||
setup do
|
||||
FileUtils.rm_rf(source_dir(".jekyll-metadata"))
|
||||
|
||||
@site = Site.new(Jekyll.configuration({
|
||||
"source" => source_dir,
|
||||
"destination" => dest_dir,
|
||||
@site = fixture_site({
|
||||
"collections" => {
|
||||
"methods" => {
|
||||
"output" => true
|
||||
}
|
||||
}
|
||||
}))
|
||||
})
|
||||
|
||||
@site.read
|
||||
@page = @site.pages.first
|
||||
|
||||
Reference in New Issue
Block a user