aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/controllers/previews_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge Previews/Variants controller into one Representations controller.Kasper Timm Hansen2018-03-031-33/+0
| | | | | | | | | Since ActiveStorage::Blob::Representable unifies the idea of previews and variants under one roof as representation, we may as well have the controllers follow suit. Thus ActiveStorage::RepresenationsController enters the fray. I've copied the old tests for both previews and variants and unified those as well.
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-1/+1
|
* Handle invalid signed blob IDs gracefullyGeorge Claghorn2017-12-151-0/+9
|
* Preview PDFs and videosGeorge Claghorn2017-09-281-0/+24