spec/openstudio/workflow_spec.rb in openstudio-analysis-0.4.2 vs spec/openstudio/workflow_spec.rb in openstudio-analysis-0.4.3
- old
+ new
@@ -23,10 +23,11 @@
it 'should fix the path of the measure' do
p = 'spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb'
m = @w.add_measure_from_path('insulation', 'Increase Insulation', p)
expect(m).to be_an OpenStudio::Analysis::WorkflowStep
- expect(m.measure_definition_directory).to eq 'spec/files/measures/IncreaseInsulationRValueForRoofs'
+ expect(m.measure_definition_directory).to eq './measures/IncreaseInsulationRValueForRoofs'
+ expect(m.measure_definition_directory_local).to eq 'spec/files/measures/IncreaseInsulationRValueForRoofs'
end
it 'should clear out a workflow' do
p = 'spec/files/measures/SetThermostatSchedules'
@w.add_measure_from_path('thermostat', 'thermostat', p)