Sha256: 7a9c72595e11d6a27d5fe00391c94e0c064862f642c0951c9b222d33ed08b81c

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

require 'integration_helper'
require 'mws/reports'

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

  def test_gets_report_list
    @clients.each do |client|
      reports = client.get_report_list
      refute_empty reports.to_a
      more_reports = client.get_report_list_by_next_token
      refute_empty more_reports.to_a
      some_more_reports = client.get_report_list_by_next_token(more_reports.next_token)
      refute_empty some_more_reports.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_list.rb
peddler-0.6.4 test/integration/reports/test_report_list.rb