class
ActiveStorage::Blob::PurgeableS3Test
- ActiveStorage::Blob::PurgeableS3Test
- Minitest::Test
- Minitest::Runnable
- Reference
- Object
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.crConstant 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
- #setup
- #teardown
- #test_purge_removes_the_object_the_variant_image_and_the_derived_key_object
- #test_purge_twice_does_not_raise