Utils.deep_merge_hashes failing test

This commit is contained in:
Pat Hawks 2015-12-26 12:37:08 -08:00 committed by Parker Moore
parent 59a5fc64f9
commit 69a6323599
1 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,21 @@
require 'helper'
class TestUtils < JekyllUnitTest
context "The \`Utils.deep_merge_hashes\` method" do
setup do
clear_dest
config = Jekyll::Configuration::DEFAULTS.merge({'source' => source_dir, 'destination' => dest_dir})
@site = fixture_site(config)
@site.process
end
should "merge a page into the site" do
data = {"page" => {}}
assert Utils.deep_merge_hashes(data, @site.site_payload)
end
end
context "hash" do
context "pluralized_array" do