Sha256: 572a6925c5aa15e801e2d069d5052001caf51bc5802ffcb2b050467f4753e893
Contents?: true
Size: 457 Bytes
Versions: 24
Compression:
Stored size: 457 Bytes
Contents
require 'helper' require 'lolsoap/client' module LolSoap describe Response do let(:client) { LolSoap::Client.new File.read(TEST_ROOT + '/fixtures/stock_quote.wsdl') } let(:request) { client.request('GetLastTradePrice') } subject { Response.parse(request, File.read(TEST_ROOT + '/fixtures/stock_quote_response.xml')) } it 'should build a hash from the body' do subject.body_hash.must_equal({ 'Price' => '34.5' }) end end end
Version data entries
24 entries across 24 versions & 1 rubygems