From 8d02c5cd945b63d678c598cff86835d1049ccffc Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 20 Oct 2014 22:49:41 -0700 Subject: [PATCH] Allow override of `destination` in site_configuration in tests --- test/helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index 97be56ad..3103e117 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -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)