spec/lib/hyperion/headers_spec.rb in hyperion_http-0.1.7 vs spec/lib/hyperion/headers_spec.rb in hyperion_http-0.1.8

- old
+ new

@@ -52,10 +52,10 @@ expect(format_for('application/json')).to eql :json expect(format_for('application/x-protobuf')).to eql :protobuf expect(format_for('multipart/form-data; boundary=------------------------2b463b63688b28fa')).to eql Multipart.format end it 'raises an error if the content type is unknown' do - expect{format_for('aaa/bbb')}.to raise_error + expect{format_for('aaa/bbb')}.to raise_error /Unsupported content type/ end end describe '#short_mimetype' do it 'returns the short mime type' do