diff options
author | Dino Maric <dino.onex@gmail.com> | 2017-08-05 00:57:02 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-04 17:57:02 -0500 |
commit | 3179f089be4f631b9c0f8b431567992164f2bdb4 (patch) | |
tree | 3df6f7a6901e3105f43173e725ce3f95d30b8e7b /activestorage/test | |
parent | b9f0eb24ed6a86aec3881b43e6b0028a306465b2 (diff) | |
download | rails-3179f089be4f631b9c0f8b431567992164f2bdb4.tar.gz rails-3179f089be4f631b9c0f8b431567992164f2bdb4.tar.bz2 rails-3179f089be4f631b9c0f8b431567992164f2bdb4.zip |
Rename Azure to AzureStorage (#30057)
Diffstat (limited to 'activestorage/test')
-rw-r--r-- | activestorage/test/controllers/direct_uploads_controller_test.rb | 4 | ||||
-rw-r--r-- | activestorage/test/service/azure_storage_service_test.rb (renamed from activestorage/test/service/azure_service_test.rb) | 2 | ||||
-rw-r--r-- | activestorage/test/service/configurations.yml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/activestorage/test/controllers/direct_uploads_controller_test.rb b/activestorage/test/controllers/direct_uploads_controller_test.rb index b9f9bd8cb4..e056b629bb 100644 --- a/activestorage/test/controllers/direct_uploads_controller_test.rb +++ b/activestorage/test/controllers/direct_uploads_controller_test.rb @@ -69,7 +69,7 @@ else end if SERVICE_CONFIGURATIONS[:azure] - class ActiveStorage::AzureDirectUploadsControllerTest < ActionDispatch::IntegrationTest + class ActiveStorage::AzureStorageDirectUploadsControllerTest < ActionDispatch::IntegrationTest setup do @config = SERVICE_CONFIGURATIONS[:azure] @@ -99,7 +99,7 @@ if SERVICE_CONFIGURATIONS[:azure] end end else - puts "Skipping Azure Direct Upload tests because no Azure configuration was supplied" + puts "Skipping Azure Storage Direct Upload tests because no Azure Storage configuration was supplied" end class ActiveStorage::DiskDirectUploadsControllerTest < ActionDispatch::IntegrationTest diff --git a/activestorage/test/service/azure_service_test.rb b/activestorage/test/service/azure_storage_service_test.rb index fb617db019..e2be510b60 100644 --- a/activestorage/test/service/azure_service_test.rb +++ b/activestorage/test/service/azure_storage_service_test.rb @@ -2,7 +2,7 @@ require "service/shared_service_tests" require "uri" if SERVICE_CONFIGURATIONS[:azure] - class ActiveStorage::Service::AzureServiceTest < ActiveSupport::TestCase + class ActiveStorage::Service::AzureStorageServiceTest < ActiveSupport::TestCase SERVICE = ActiveStorage::Service.configure(:azure, SERVICE_CONFIGURATIONS) include ActiveStorage::Service::SharedServiceTests diff --git a/activestorage/test/service/configurations.yml b/activestorage/test/service/configurations.yml index 90b6baf0db..d7aa672573 100644 --- a/activestorage/test/service/configurations.yml +++ b/activestorage/test/service/configurations.yml @@ -21,9 +21,9 @@ s3: # } # project: # bucket: -# +# # azure: -# service: Azure +# service: AzureStorage # path: "" # storage_account_name: "" # storage_access_key: "" |