Skip to content

Commit

Permalink
remove hack to get cli output
Browse files Browse the repository at this point in the history
  • Loading branch information
anyaelena committed Jun 3, 2019
1 parent 23160bd commit 6195fc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/spec/features/dj_run_simulation_data_point_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@
a = JSON.parse(a, symbolize_names: true)
puts a

l = RestClient.get "http://#{host}/data_points/#{datapoint_id}/download_result_file?filename=#{datapoint_id}.log"
expect(l).to eq('hack to inspect oscli output')
# l = RestClient.get "http://#{host}/data_points/#{datapoint_id}/download_result_file?filename=#{datapoint_id}.log"
# expect(l).to eq('hack to inspect oscli output')

expect(a[:data_point][:name]).to eq('Test Datapoint')
expect(a[:data_point][:status_message]).to eq('completed normal')
Expand Down
4 changes: 2 additions & 2 deletions spec/tests/openstudio_meta_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ class LocalRspecTest
end
end
data_points.each do |data_point|
l = RestClient.get "http://localhost:8080/data_points/#{data_point[:_id]}/download_result_file?filename=#{data_point[:_id]}.log"
expect(l).to eq('hack to view oscli output')
# l = RestClient.get "http://localhost:8080/data_points/#{data_point[:_id]}/download_result_file?filename=#{data_point[:_id]}.log"
# expect(l).to eq('hack to view oscli output')
a = RestClient.get "http://localhost:8080/data_points/#{data_point[:_id]}.json"
a = JSON.parse(a, symbolize_names: true)
expect(a[:data_point][:status_message]).to eq('completed normal')
Expand Down

0 comments on commit 6195fc0

Please sign in to comment.