rails/activestorage/test
Cameron Bothner 5cd2d07bdc Translate service-specific missing object exceptions into a generic one
`ActiveStorage::Blob#download` and `ActiveStorage::Blob#open` raise
`ActiveStorage::FileNotFoundError` when the corresponding file is missing
from the storage service. Services translate service-specific missing
object exceptions (e.g. `Google::Cloud::NotFoundError` for the GCS service
and `Errno::ENOENT` for the disk service) into
`ActiveStorage::FileNotFoundError`.
2018-08-21 15:31:14 -04:00
..
analyzer Move #extract_metadata_from to ActiveStorage's TestHelper 2018-04-25 15:28:30 -05:00
controllers Restore inadvertently-removed fallback 2018-07-15 20:12:53 -04:00
database Refactor migration to move migrations paths to connection 2018-01-18 08:55:03 -05:00
dummy Recommend use of rails over bin/rails 2018-07-06 22:46:35 +02:00
fixtures/files Support varying ICO files 2018-02-24 15:27:57 -05:00
jobs Discard ActiveStorage::PurgeJobs on ActiveRecord::InvalidForeignKey 2018-07-20 11:18:37 -04:00
models Ignore ActiveRecord::InvalidForeignKey in ActiveStorage::Blob#purge 2018-07-26 09:24:31 -04:00
previewer Change video preview format from PNG to JPG 2018-05-23 14:32:34 -04:00
service Translate service-specific missing object exceptions into a generic one 2018-08-21 15:31:14 -04:00
template Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
test_helper.rb Store newly-uploaded files on save rather than assignment 2018-07-07 23:25:33 -04:00