Sha256: 2a00aed6495c5883df7e828106c79c4fa0073b36d18e66de1d9cef45dbb294b9

Contents?: true

Size: 633 Bytes

Versions: 2

Compression:

Stored size: 633 Bytes

Contents

# frozen_string_literal: true

require 'integration_helper'
require 'mws/subscriptions'

class TestSubscriptions < IntegrationTest
  def test_listing_registered_destinations
    clients.each do |client|
      res = client.list_registered_destinations(client.marketplace.id)
      refute_empty res.parse
    end
  end

  def test_listing_subscriptions
    clients.each do |client|
      res = client.list_subscriptions(client.marketplace.id)
      refute_empty res.parse
    end
  end

  def test_getting_service_status
    clients.each do |client|
      res = client.get_service_status
      refute_empty res.parse
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-2.1.1 test/integration/test_subscriptions.rb
peddler-2.1.0 test/integration/test_subscriptions.rb