diff --git a/spec/generator_test_results_sanity_checker_spec.rb b/spec/generator_test_results_sanity_checker_spec.rb index b6810969..56526018 100644 --- a/spec/generator_test_results_sanity_checker_spec.rb +++ b/spec/generator_test_results_sanity_checker_spec.rb @@ -13,9 +13,17 @@ describe GeneratorTestResultsSanityChecker do before(:each) do - # this will always be mocked - @configurator = Configurator.new({:configurator_setup => nil, :configurator_builder => nil, :configurator_plugins => nil, :yaml_wrapper => nil, :system_wrapper => nil}) + # These will always be mocked @loginator = Loginator.new({:verbosinator => nil, :file_wrapper => nil, :system_wrapper => nil}) + @configurator = Configurator.new({ + :configurator_setup => nil, + :configurator_builder => nil, + :configurator_plugins => nil, + :yaml_wrapper => nil, + :system_wrapper => nil, + :loginator => @loginator, + :reportinator => nil + }) @sanity_checker = described_class.new({:configurator => @configurator, :loginator => @loginator}) diff --git a/spec/generator_test_results_spec.rb b/spec/generator_test_results_spec.rb index c94e1b54..5548e67b 100644 --- a/spec/generator_test_results_spec.rb +++ b/spec/generator_test_results_spec.rb @@ -62,8 +62,17 @@ describe GeneratorTestResults do before(:each) do # these will always be mocked - @configurator = Configurator.new({:configurator_setup => nil, :configurator_builder => nil, :configurator_plugins => nil, :yaml_wrapper => nil, :system_wrapper => nil}) + # this will always be mocked @loginator = Loginator.new({:verbosinator => nil, :file_wrapper => nil, :system_wrapper => nil}) + @configurator = Configurator.new({ + :configurator_setup => nil, + :configurator_builder => nil, + :configurator_plugins => nil, + :yaml_wrapper => nil, + :system_wrapper => nil, + :loginator => @loginator, + :reportinator => nil + }) # these will always be used as is. @yaml_wrapper = YamlWrapper.new