Sha256: 3bf47b95ea0e3b4d605fc4ce16684bb35512b4eb8a2718a4621f1bdbb858d724
Contents?: true
Size: 665 Bytes
Versions: 3
Compression:
Stored size: 665 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Storage Blob Class class TestCompareBlobs < Minitest::Test # This class posesses the test cases for the requests of comparing blobs. def setup @service = Fog::Storage::AzureRM.new(storage_account_credentials) @blob_client = @service.instance_variable_get(:@blob_client) @compare_blob_response = ApiStub::Requests::Storage::File.list_blobs_response end def test_compare_blobs_success @service.stub :get_identical_blobs_from_containers, @compare_blob_response do assert @service.compare_blob('container1', 'container2'), @compare_blob_response 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_compare_blob.rb |
fog-azure-rm-0.0.9 | test/requests/storage/test_compare_blob.rb |
fog-azure-rm-0.0.8 | test/requests/storage/test_compare_blob.rb |