Sha256: e9db2db8545c8a7479c466ed9d39f0e4a78bc39aa8ec9a991b731456044b2f21
Contents?: true
Size: 724 Bytes
Versions: 3
Compression:
Stored size: 724 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Storage Blob Class class TestDeleteBlob < Minitest::Test # This class posesses the test cases for the requests of deleting storage blobs. def setup @service = Fog::Storage::AzureRM.new(storage_account_credentials) @blob_client = @service.instance_variable_get(:@blob_client) end def test_delete_blob_with_service_success @blob_client.stub :delete_blob, true do assert @service.delete_blob('testcontainer1', 'testblob1') end end def test_delete_blob_with_internal_client_success @blob_client.stub :delete_blob, true do assert @blob_client.delete_blob('testcontainer1', 'testblob1') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.0 | test/requests/storage/test_delete_blob.rb |
fog-azure-rm-0.0.9 | test/requests/storage/test_delete_blob.rb |
fog-azure-rm-0.0.8 | test/requests/storage/test_delete_blob.rb |