mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
11 lines
371 B
Ruby
11 lines
371 B
Ruby
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
|