diff options
-rw-r--r-- | test/controllers/disk_controller_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/controllers/disk_controller_test.rb b/test/controllers/disk_controller_test.rb index f498d5e22e..df7954d6b4 100644 --- a/test/controllers/disk_controller_test.rb +++ b/test/controllers/disk_controller_test.rb @@ -18,6 +18,7 @@ class ActiveStorage::DiskControllerTest < ActionDispatch::IntegrationTest assert_equal "text/plain", @response.headers["Content-Type"] end + test "directly uploading blob with integrity" do data = "Something else entirely!" blob = create_blob_before_direct_upload byte_size: data.size, checksum: Digest::MD5.base64digest(data) |