Sha256: 95e8a87798c5bab3d814db50ef347b7ef996410017ed0aa651edaaaa713d987c
Contents?: true
Size: 650 Bytes
Versions: 4
Compression:
Stored size: 650 Bytes
Contents
RSpec.describe SoapyBing::Soap::Response::PollGenerateReportResponse do let(:url) { 'http://my-site.com' } let(:response_hash) do { 'Envelope' => { 'Body' => { 'PollGenerateReportResponse' => { 'ReportRequestStatus' => { 'ReportDownloadUrl' => url } } } } } end let(:subject) { described_class.new(response_hash) } it 'includes ReportStatus' do expect(described_class.ancestors).to include SoapyBing::Soap::Response::ReportStatus end it '#extract_payload returns download url' do expect(subject.extract_payload).to eq url end end
Version data entries
4 entries across 4 versions & 1 rubygems