Allow override of `destination` in site_configuration in tests

This commit is contained in:
Parker Moore 2014-10-20 22:49:41 -07:00
parent 68e9c84a18
commit 8d02c5cd94
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ class Test::Unit::TestCase
end end
def site_configuration(overrides = {}) def site_configuration(overrides = {})
full_overrides = build_configs(overrides, build_configs({"destination" => dest_dir}))
build_configs({ build_configs({
"source" => source_dir, "source" => source_dir,
"destination" => dest_dir }, full_overrides)
}, build_configs(overrides))
end end
def dest_dir(*subdirs) def dest_dir(*subdirs)