Sha256: 25dc00a4c53bfa67e66196c8a48b45b3a6e7d1706d8029ee416c0a3d15821407

Contents?: true

Size: 536 Bytes

Versions: 2

Compression:

Stored size: 536 Bytes

Contents

require 'integration_helper'
require 'mws/reports'

class ReportRequestListTest < IntegrationTest
  self.api = MWS::Reports

  def test_gets_report_request_list
    @clients.each do |client|
      requests = client.get_report_request_list
      refute_empty requests.to_a
      more_requests = client.get_report_request_list_by_next_token
      refute_empty more_requests.to_a
      some_more_requests = client.get_report_request_list_by_next_token(more_requests.next_token)
      refute_empty some_more_requests.to_a
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/integration/reports/test_report_request_list.rb
peddler-0.6.4 test/integration/reports/test_report_request_list.rb