Sha256: 3ede72d4f7ea556311f997325855b0462a12ace5ec829972b6a12ce08491cfca
Contents?: true
Size: 596 Bytes
Versions: 3
Compression:
Stored size: 596 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Storage Blob Class class TestListBlobs < Minitest::Test # This class posesses the test cases for the requests of releasing container lease. def setup @service = Fog::Storage::AzureRM.new(storage_account_credentials) @blob_client = @service.instance_variable_get(:@blob_client) end def test_release_container_lease_success @blob_client.stub :release_container_lease, true do assert @service.release_container_lease('test_container', '78659cee-b7cb-4f18-b9f8-0e9e8bf849f6'), true end end end
Version data entries
3 entries across 3 versions & 1 rubygems