diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-06 15:41:42 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-06 15:41:42 +0200 |
commit | ecd07cd905ed3f746c71f496b177e94f8ac2e79d (patch) | |
tree | 37649752c18df86601e1346ebcecdd75503df654 | |
parent | 8d17bb4bb01600711d144a643d608c2fba95b9b3 (diff) | |
download | rails-ecd07cd905ed3f746c71f496b177e94f8ac2e79d.tar.gz rails-ecd07cd905ed3f746c71f496b177e94f8ac2e79d.tar.bz2 rails-ecd07cd905ed3f746c71f496b177e94f8ac2e79d.zip |
It's base64 now since the clouds expect that
Gotta please them clouds. SPEAK THE CLOUD.
-rw-r--r-- | test/blob_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blob_test.rb b/test/blob_test.rb index 880c656ecc..b06a1af145 100644 --- a/test/blob_test.rb +++ b/test/blob_test.rb @@ -9,7 +9,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase assert_equal data, blob.download assert_equal data.length, blob.byte_size - assert_equal Digest::MD5.hexdigest(data), blob.checksum + assert_equal Digest::MD5.base64digest(data), blob.checksum end test "urls expiring in 5 minutes" do |