Sha256: 6dfdb01711620810a861d76011bdc99c4f95d794efc70805a9a02e69f47657af

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

RSpec.describe SoapyBing::Soap::Response::SubmitGenerateReportResponse do
  let(:request_id) { 'foobarbazqux' }
  let(:response_hash) do
    {
      'Envelope' => {
        'Body' => {
          'SubmitGenerateReportResponse' => {
            'ReportRequestId' => request_id
          }
        }
      }
    }
  end
  let(:subject) { described_class.new(response_hash) }

  it '#extract_payload returns request id' do
    expect(subject.extract_payload).to eq request_id
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
soapy_bing-0.0.4 spec/soapy_bing/soap/response/submit_generate_report_response_spec.rb
soapy_bing-0.0.3 spec/soapy_bing/soap/response/submit_generate_report_response_spec.rb
soapy_bing-0.0.2 spec/soapy_bing/soap/response/submit_generate_report_response_spec.rb
soapy_bing-0.0.1 spec/soapy_bing/soap/response/submit_generate_report_response_spec.rb