spec/openstudio/analysis/translator/excel_spec.rb in openstudio-analysis-0.2.1 vs spec/openstudio/analysis/translator/excel_spec.rb in openstudio-analysis-0.2.2

- old
+ new

@@ -60,10 +60,11 @@ before(:all) do @excel = OpenStudio::Analysis::Translator::Excel.new('spec/files/small_list_validation_errors.xlsx') end it 'should fail to process' do - expect { @excel.process }.to raise_error('Variable min is greater than variable max for adjust_thermostat_setpoints_by_degrees:heating_adjustment') + error_message = 'Variable min is greater than variable max for adjust_thermostat_setpoints_by_degrees:heating_adjustment' + expect { @excel.process }.to raise_error(error_message) end end context 'small list of variables' do before(:all) do