Sha256: 66d29fb1ea77c8df7d485dc6c9e2a49bd36eeff74dae04d189f51718a7f831ab
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
require "integration/test_helper" describe "Get Page Range" do before do @container = Azure::Blobs.create_container(ContainerNameHelper.name) @blob = Azure::Blobs.create_page_blob(@container, "myBlob", 2048) stream = "Hello World!" + (" " * (1024 - 12)) Azure::Blobs.update_page_range(@blob, 0, 1023, stream).must_equal true end after do ContainerNameHelper.clean end it "should be able to get a range of bytes" do result = Azure::Blobs.get_page_range(@blob) result.must_be :kind_of?, Array end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure-0.1.1 | test/integration/blobs/get_page_range_test.rb |
azure-0.1.0 | test/integration/blobs/get_page_range_test.rb |