Sha256: 9024221f4d03dfa6cba9a129b4f9003fafe2e78fde7bc1ccc63f5c2f086e2c3a
Contents?: true
Size: 633 Bytes
Versions: 6
Compression:
Stored size: 633 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Storage Container Class class TestCheckContainerExists < Minitest::Test # This class posesses the test cases for the requests of checking container exists. def setup @service = Fog::AzureRM::Storage.new(storage_account_credentials) @blob_client = @service.instance_variable_get(:@blob_client) @container = ApiStub::Requests::Storage::Directory.container end def test_check_container_exists_success @blob_client.stub :get_container_properties, @container do assert_equal @service.check_container_exists('test_container'), true end end end
Version data entries
6 entries across 6 versions & 1 rubygems