Sha256: 8a9302895edaca6fa43962d31affc152ca3866692c4a4c654fbc5b15b202f4b2

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

require "integration/test_helper"

describe "Create 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 get a range of bytes" do
    result = Azure::Blobs.create_snapshot(@blob)
    result.must_be :kind_of?, Azure::Blobs::Snapshot
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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