class ActiveStorage::Blob::PurgeableS3Test

Overview

The same removal against the S3 API of the rustfs service of compose.yml, where the objects of a prefix are listed instead of globbed:

podman compose up -d rustfs
rake test:all

The rows and the objects are written by hand: what the transformations produce is already covered above, and this is about what a purge removes. :nodoc:

Defined in:

active_storage/blob/purgeable_test.cr

Constant Summary

ACCESS_KEY_ID = "admin"
BUCKET = "storage"
CONTENT = "0123456789abcdef"
ENDPOINT = ENV.fetch("S3_ENDPOINT", "http://127.0.0.1:9000")
MEDIUM_DIGEST = "spWDgYmFptMnmwEsfcpfOPL1tZA="

Marshal.dump({format: "jpg", resize_to_fill: [500, 500]}) digested by Ruby.

REGION = "us-east-1"
SECRET_ACCESS_KEY = "password"

Instance Method Summary

Instance Method Detail

def setup #

def teardown #

def test_purge_removes_the_object_the_variant_image_and_the_derived_key_object #

def test_purge_twice_does_not_raise #