Sha256: f3ebf23deb57808191a6cc9aa24b22358593114b75482e8438255a9899f08938

Contents?: true

Size: 626 Bytes

Versions: 3

Compression:

Stored size: 626 Bytes

Contents

# frozen_string_literal: true

require 'integration_helper'
require 'mws/subscriptions'

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peddler-2.0.4 test/integration/test_subscriptions.rb
peddler-2.0.3 test/integration/test_subscriptions.rb
peddler-2.0.0 test/integration/test_subscriptions.rb