From ab58436d78722cf67baf9afd120a03d6f9d23fd8 Mon Sep 17 00:00:00 2001 From: Nathan Moore Date: Tue, 28 Jan 2025 16:46:18 -0700 Subject: [PATCH] fix typos from changing run period during tests --- spec/uo_cli_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/uo_cli_spec.rb b/spec/uo_cli_spec.rb index 64001774..57605955 100644 --- a/spec/uo_cli_spec.rb +++ b/spec/uo_cli_spec.rb @@ -18,7 +18,7 @@ test_directory_pv = spec_dir / 'test_directory_pv' test_directory_ghe = spec_dir / 'test_directory_ghe' test_scenario = test_directory / 'two_building_scenario.csv' - test_scenario_res = test_directory_res / 'two_building_res' + test_scenario_res = test_directory_res / 'two_building_res.csv' test_scenario_res_hpxml = test_directory_res_hpxml / 'two_building_res_hpxml.csv' test_scenario_reopt = test_directory_pv / 'REopt_scenario.csv' test_scenario_elec = test_directory_elec / 'electrical_scenario.csv' @@ -619,7 +619,7 @@ def select_measures(test_dir, measure_name_list, workflow = 'base_workflow.osw', delete_directory_or_file(test_directory_res_hpxml) system("#{call_cli} create --project-folder #{test_directory_res_hpxml} --combined") # Shorter run period during testing - system("cp #{spec_dir / 'spec_files' / 'test_example_project.json'} #{test_feature_res}") + system("cp #{spec_dir / 'spec_files' / 'test_example_project_combined.json'} #{test_feature_res}") end it 'runs a 2 building scenario with residential and commercial buildings', :residential do