Sha256: c74e866724d66954eb3b7f701612ac5f33cb32f498298abcbc34cf0ae5d8078b
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
require "integration/test_helper" describe "Delete Blob Snapshots" do before do @container = Azure::Blobs.create_container(ContainerNameHelper.name) @blob = Azure::Blobs.create_page_blob(@container, "myBlob", 2048) end after do ContainerNameHelper.clean end it "should be able to delete only the snapshots belonging to this blob" do snapshot = Azure::Blobs.create_snapshot(@blob) Azure::Blobs.delete_blob_snapshots(@blob).must_equal true blob = Azure::Blobs.get_blob(@container, @blob.name) blob.error.must_be_nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/blobs/delete_blob_snapshots_test.rb |
azure-0.1.0 | test/integration/blobs/delete_blob_snapshots_test.rb |