Sha256: 7c45fe7369e72c7697667e7ee5f4875e9bd983554df59b7c124c8a42d336199f
Contents?: true
Size: 574 Bytes
Versions: 24
Compression:
Stored size: 574 Bytes
Contents
require 'helper' require 'lolsoap/client' module LolSoap describe Client do subject { Client.new(File.read(TEST_ROOT + '/fixtures/stock_quote.wsdl')) } it 'builds a request' do request = subject.request('GetLastTradePrice') request.body { |foo| foo.bar } request.content.empty?.must_equal false end it 'builds a response' do request = subject.request('GetLastTradePrice') response = subject.response(request, File.read(TEST_ROOT + '/fixtures/stock_quote_response.xml')) response.body.wont_equal nil end end end
Version data entries
24 entries across 24 versions & 1 rubygems