Sha256: 02095f17c3ba6cc7330bbf0c40453a574d75d637665ff8fe54838b8490ff1993

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

require 'integration_helper'
require 'mws/reports'

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

  def test_gets_report_list
    @clients.each do |client|
      reports = client.get_report_list
      id = reports.to_a.sample.id
      report = client.get_report(id)
      refute_empty report.document
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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