Sha256: 2032a96e5c7ad8f9ab25250a21a96795aabd3689eb2f01a5f75f644adc12f12c
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 Bytes
Contents
require "integration/test_helper" describe "Deleting a queue" do after do QueueNameHelper.clean end it "should return false if the queue cannot be deleted" do queue = Azure::Queues::Queue.new(QueueNameHelper.name) response = queue.delete response.must_equal false refute queue.valid? refute queue.frozen? end it "should return true if the queue can be deleted" do queue = Azure::Queues.create(QueueNameHelper.name) response = queue.delete response.must_equal true assert queue.frozen? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/queues/delete_queue_test.rb |
azure-0.1.0 | test/integration/queues/delete_queue_test.rb |