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