aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service/azure_service_test.rb
blob: 0ddbac83e74dc94664308f423993b04bd6f13bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "service/shared_service_tests"
require "httparty"
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