Sha256: bcad345c0fe7cd47f029954823f759accf02f8fd0018d1e1aeb5f65c7de55fe1
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
require "integration/test_helper" describe "Update Page Range" 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 update a range of bytes" do stream = "Hello World!" + (" " * (1024 - 12)) stream.bytesize.must_equal 1024 Azure::Blobs.update_page_range(@blob, 0, 1023, stream).must_equal true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/blobs/update_page_range_test.rb |
azure-0.1.0 | test/integration/blobs/update_page_range_test.rb |