Skip to content

Commit

Permalink
✅ Test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jun 19, 2024
1 parent d419df4 commit 2bfbef0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
12 changes: 10 additions & 2 deletions spec/generator_test_results_sanity_checker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down
11 changes: 10 additions & 1 deletion spec/generator_test_results_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bfbef0

Please sign in to comment.