aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/controllers/direct_uploads_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Always exclude JSON root from direct_uploads#create responseJavan Makhmali2018-04-101-0/+23
| | | | | | The JavaScript component expects a bare response. Fixes #32365
* Update test to reflect GCS direct upload header changeGeorge Claghorn2018-03-061-1/+1
|
* Update test to reflect direct upload header changesGeorge Claghorn2018-02-261-1/+1
|
* Allow S3 tests against buckets in other regionsAndrew White2018-02-211-1/+1
| | | | | Only us-east-1 gives URLs like bucket.s3.amazonaws.com whereas other regions have URLs like s3-eu-west-1.amazonaws.com/ubxd-rails
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Fix ruby warningsyuuji.yaginuma2017-08-051-2/+2
| | | | | | | | | | This fixes following warnings: ``` test/models/variant_test.rb:11: warning: ambiguous first argument; put parentheses or a space even after `/' operator lib/active_storage/attached/macros.rb:63: warning: instance variable @active_storage_attached_highlights not initialized lib/active_storage/attached/macros.rb:25: warning: instance variable @active_storage_attached_avatar not initialized ```
* Rename Azure to AzureStorage (#30057)Dino Maric2017-08-041-2/+2
|
* Fix tests for AWS buckets that include a . (#30059)Claudio B2017-08-041-1/+2
| | | | | | | | | If an AWS bucket name includes a `.` (e.g. `bucket.name`), then the canonical URL for an object will start with "https://s3.amazonaws.com/bucket.name/" and not with "https://bucket.name.s3.amazonaws.com/". The URL tests have now been separated into two separate asserts, to ensure that both the "s3.amazonaws.com" and the "bucket.name" components are included, but not specifically in that order.
* Skip if credentials aren't providedDavid Heinemeier Hansson2017-08-011-1/+1
|
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+121
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58