Sha256: 40a249ba3586e17d05d4b72dbe1bed148a1c92f8f3616fbd405a7922d37d685c

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

require "integration/test_helper"

describe "Delete 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 a snapshot" do
    snapshot = Azure::Blobs.create_snapshot(@blob)
    Azure::Blobs.delete_snapshot(snapshot).must_equal true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure-0.1.1 test/integration/blobs/delete_snapshot_test.rb
azure-0.1.0 test/integration/blobs/delete_snapshot_test.rb