aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service/azure_storage_service_test.rb
blob: e2be510b608b69dff6215d69ca06653ac641bcbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "service/shared_service_tests"
require "uri"

if SERVICE_CONFIGURATIONS[:azure]
  class ActiveStorage::Service::AzureStorageServiceTest < ActiveSupport::TestCase
    SERVICE = ActiveStorage::Service.configure(:azure, SERVICE_CONFIGURATIONS)

    include ActiveStorage::Service::SharedServiceTests
  end

else
  puts "Skipping Azure Storage Service tests because no Azure configuration was supplied"
end