1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/test/service/s3_service_test.rb
2017-07-06 12:22:44 +02:00

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