Sha256: c8aadadf9d1f409b8f37d47020b47e53309174eeef1d7c62805f6fdc9e170c8f

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

require "integration/test_helper"

describe Azure::ServiceBus::Rules::Rule 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 delete itself" do
    @subscription.create_rule("myRule").delete.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/rule_test.rb
azure-0.1.0 test/integration/service_bus/rules/rule_test.rb