aboutsummaryrefslogblamecommitdiffstats
path: root/test/site/s3_site_test.rb
blob: 7629b78ad5fd435852649d6c16e357b9565ed83f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                        
require "site/shared_site_tests"

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

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