Utils.deep_merge_hashes failing test
This commit is contained in:
parent
59a5fc64f9
commit
69a6323599
|
@ -1,6 +1,21 @@
|
||||||
require 'helper'
|
require 'helper'
|
||||||
|
|
||||||
class TestUtils < JekyllUnitTest
|
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 "hash" do
|
||||||
|
|
||||||
context "pluralized_array" do
|
context "pluralized_array" do
|
||||||
|
|
Loading…
Reference in New Issue