test/unit/test_envelope.rb in lolsoap-0.6.1 vs test/unit/test_envelope.rb in lolsoap-0.7.0
- old
+ new
@@ -9,10 +9,18 @@
:soap_version => '1.2'
)
end
let(:operation) do
- OpenStruct.new(:input => OpenStruct.new(:body => OpenStruct.new(:prefix => 'ns0', :name => 'WashHandsRequest')))
+ OpenStruct.new(
+ :input => OpenStruct.new(
+ :header => OpenStruct.new(:name => 'Header'),
+ :body => OpenStruct.new(
+ :name => 'Body',
+ :content => OpenStruct.new(:prefix => 'ns0', :name => 'WashHandsRequest')
+ )
+ )
+ )
end
subject { Envelope.new(wsdl, operation) }
let(:doc) { subject.doc }