aboutsummaryrefslogtreecommitdiffstats
path: root/test/site/s3_site_test.rb
blob: 6daeaac2ea8eb2d61d9caab14d2f0f6600286fca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
require "site/shared_site_tests"

if SITE_CONFIGURATIONS[:s3]
  class ActiveVault::Site::S3SiteTest < ActiveSupport::TestCase
    SITE = ActiveVault::Site.configure(:S3, SITE_CONFIGURATIONS[:s3])

    include ActiveVault::Site::SharedSiteTests
  end
else
  puts "Skipping S3 Site tests because no S3 configuration was supplied"
end