test/unit/test_request.rb in lolsoap-0.6.1 vs test/unit/test_request.rb in lolsoap-0.7.0
- old
+ new
@@ -42,7 +42,15 @@
it 'is text/xml for SOAP 1.1' do
envelope.soap_version = '1.1'
subject.mime.must_equal 'text/xml'
end
end
+
+ describe '#output_type' do
+ it 'returns output body content type' do
+ content_type = Object.new
+ envelope.output_body_content_type = content_type
+ subject.output_type.must_equal content_type
+ end
+ end
end
end