class
ActiveStorage::BlobFindSignedTest
- ActiveStorage::BlobFindSignedTest
- Minitest::Test
- Minitest::Runnable
- Reference
- Object
Overview
.find_signed and .find_signed! hit the database, hence a separate test case.
:nodoc:
Defined in:
active_storage/blob_test.crInstance Method Summary
- #setup
- #test_find_signed_bang_raises_for_a_garbage_signed_id
- #test_find_signed_bang_raises_for_a_tampered_signed_id
- #test_find_signed_bang_raises_record_not_found_when_the_blob_is_gone
- #test_find_signed_bang_returns_the_blob
- #test_find_signed_returns_nil_for_a_garbage_signed_id
- #test_find_signed_returns_nil_for_a_mismatched_purpose
- #test_find_signed_returns_nil_for_a_tampered_signed_id
- #test_find_signed_returns_nil_for_an_expired_signed_id
- #test_find_signed_returns_nil_when_the_blob_is_gone
- #test_find_signed_returns_the_blob