spec/error/to_s_spec.rb in dhc-2.0.0 vs spec/error/to_s_spec.rb in dhc-2.0.1
- old
+ new
@@ -70,13 +70,10 @@
end
it 'produces correct debug output' do
expect(subject.to_s.split("\n")).to eq(<<-MSG.strip_heredoc.split("\n"))
GET http://example.com/sessions
- Options: {:followlocation=>true, :auth=>{:bearer=>"aaaaaaaa-bbbb-cccc-dddd-eeee"}, :params=>{:limit=>20}, :url=>"http://example.com/sessions"}
- Headers: {"Bearer Token"=>"aaaaaaaa-bbbb-cccc-dddd-eeee"}
Response Code: 500 (internal_error)
- Response Options: {:return_code=>:internal_error, :response_headers=>""}
{"status":500,"message":"undefined"}
The error message
MSG
end
end