test/models/storage/test_directory.rb in gitlab-fog-azure-rm-1.8.0 vs test/models/storage/test_directory.rb in gitlab-fog-azure-rm-1.9.0
- old
+ new
@@ -1,11 +1,11 @@
require File.expand_path '../../test_helper', __dir__
# Test class for Storage Container Model
class TestDirectory < Minitest::Test
def setup
- @service = Fog::Storage::AzureRM.new(storage_account_credentials)
+ @service = Fog::AzureRM::Storage.new(storage_account_credentials)
@directory = directory(@service)
@container = ApiStub::Models::Storage::Directory.container
@container_acl = ApiStub::Models::Storage::Directory.container_acl
@container_https_url = ApiStub::Models::Storage::Directory.container_https_url
@@ -98,10 +98,10 @@
@directory.destroy
end
end
def test_files_method_success
- assert_instance_of Fog::Storage::AzureRM::Files, @directory.files
+ assert_instance_of Fog::AzureRM::Storage::Files, @directory.files
end
def test_set_public_method_success
# Set public
result = @directory.public = true