From 2bfbef04576e91ff993b95f96cc62bb0add8d135 Mon Sep 17 00:00:00 2001 From: Michael Karlesky Date: Wed, 19 Jun 2024 17:03:32 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Test=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/generator_test_results_sanity_checker_spec.rb | 12 ++++++++++-- spec/generator_test_results_spec.rb | 11 ++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) 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