aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service/azure_service_test.rb
blob: fb617db019bc8c01f4e78d8f9b15a3723a666922 (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::AzureServiceTest < 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