test/integration/test_subscriptions.rb in peddler-1.6.7 vs test/integration/test_subscriptions.rb in peddler-2.0.0
- old
+ new
@@ -4,17 +4,17 @@
require 'mws/subscriptions'
class TestSubscriptions < IntegrationTest
def test_lists_registered_destinations
clients.each do |client|
- res = client.list_registered_destinations
+ 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
+ res = client.list_subscriptions(client.marketplace.id)
refute_empty res.parse
end
end
def test_gets_service_status