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
def site_configuration(overrides = {})
full_overrides = build_configs(overrides, build_configs({"destination" => dest_dir}))
build_configs({
"source" => source_dir,
"destination" => dest_dir
}, build_configs(overrides))
}, full_overrides)
end
def dest_dir(*subdirs)