aboutsummaryrefslogtreecommitdiffstats
path: root/test/service/s3_service_test.rb
blob: 604dfd6c605fcb415cccd2d9d5daf9bc0e25caad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
require "service/shared_service_tests"

if SERVICE_CONFIGURATIONS[:s3]
  class ActiveStorage::Service::S3ServiceTest < ActiveSupport::TestCase
    SERVICE = ActiveStorage::Service.configure(:S3, SERVICE_CONFIGURATIONS[:s3])

    include ActiveStorage::Service::SharedServiceTests
  end
else
  puts "Skipping S3 Service tests because no S3 configuration was supplied"
end