Sha256: 98b9afec34488c89300b1487ba3e56e926839fd2386628bccf6590695e19ad7a

Contents?: true

Size: 1016 Bytes

Versions: 12

Compression:

Stored size: 1016 Bytes

Contents

require 'integration_helper'
require 'mws/reports'

class ReportsTest < IntegrationTest
  def test_gets_report_request_count
    clients.each do |client|
      res = client.get_report_request_count
      refute_empty res.parse
    end
  end

  def test_gets_report_request_list
    clients.each do |client|
      res = client.get_report_request_list
      refute_empty res.parse
    end
  end

  def test_gets_report_schedule_count
    clients.each do |client|
      res = client.get_report_schedule_count
      refute_empty res.parse
    end
  end

  def test_lists_report_schedules
    clients.each do |client|
      res = client.get_report_schedule_list
      refute_empty res.parse
    end
  end

  def test_gets_report_count
    skip("Some endpoints don't work")
    clients.each do |client|
      res = client.get_report_count
      refute_empty res.parse
    end
  end

  def test_gets_report_list
    clients.each do |client|
      res = client.get_report_list
      refute_empty res.parse
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
peddler-0.8.0 test/integration/test_reports.rb
peddler-0.7.11 test/integration/test_reports.rb
peddler-0.7.10 test/integration/test_reports.rb
peddler-0.7.9 test/integration/test_reports.rb
peddler-0.7.8 test/integration/test_reports.rb
peddler-0.7.7 test/integration/test_reports.rb
peddler-0.7.6 test/integration/test_reports.rb
peddler-0.7.5 test/integration/test_reports.rb
peddler-0.7.3 test/integration/test_reports.rb
peddler-0.7.2 test/integration/test_reports.rb
peddler-0.7.1 test/integration/test_reports.rb
peddler-0.7.0 test/integration/test_reports.rb