Sha256: 642b65a7cd6e46ac9c4bb95743623b60378832e713b82ef1dee66f6ad12f75b9
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require "integration/test_helper" describe "Delete Rules" do before do @topic = Azure::ServiceBus::Topics.create(ServiceBusTopicNameHelper.name, {}) @subscription = @topic.subscriptions.create("mySubscription") end after do ServiceBusTopicNameHelper.clean end it "should be able to create a new rule" do rule = Azure::ServiceBus::Rules.create(@subscription, "myName") Azure::ServiceBus::Rules.delete(rule).must_equal true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/service_bus/rules/delete_rule_test.rb |
azure-0.1.0 | test/integration/service_bus/rules/delete_rule_test.rb |