Sha256: 5190995a42c47e7bb233a8b8c86135c7fd5e3ad60655196c0fccde3e0a7eec62
Contents?: true
Size: 613 Bytes
Versions: 2
Compression:
Stored size: 613 Bytes
Contents
require "integration/test_helper" describe "Listing Subscription" do before do @topic = Azure::ServiceBus::Topics.create(ServiceBusTopicNameHelper.name, {}) end after do ServiceBusTopicNameHelper.clean end it "returns an empty collection when there are no subscriptions" do @topic.subscriptions.must_be_empty end it "returns the subscriptions when there are any" do sub_1 = @topic.subscriptions.create("subscription-1") sub_2 = @topic.subscriptions.create("subscription-2") @topic.subscriptions.must_include(sub_1) @topic.subscriptions.must_include(sub_2) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/service_bus/subscriptions/list_subscriptions_test.rb |
azure-0.1.0 | test/integration/service_bus/subscriptions/list_subscriptions_test.rb |