Sha256: 391026c24468ae0d2073b2890074571ff45f81c0bc81299fdad62cfe588fc404
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
require "integration/test_helper" describe "Get 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 Azure::ServiceBus::Rules.create(@subscription, "myName") rule = Azure::ServiceBus::Rules.get(@subscription, "myName") rule.must_be :kind_of?, Azure::ServiceBus::Rules::Rule rule.name.must_equal "myName" rule.filter.wont_be_nil rule.action.wont_be_nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/service_bus/rules/get_rule_test.rb |
azure-0.1.0 | test/integration/service_bus/rules/get_rule_test.rb |