diff options
Diffstat (limited to 'test/blob_test.rb')
-rw-r--r-- | test/blob_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/blob_test.rb b/test/blob_test.rb index 45f6b5e3ba..9d190fb703 100644 --- a/test/blob_test.rb +++ b/test/blob_test.rb @@ -21,12 +21,7 @@ class ActiveFile::BlobTest < ActiveSupport::TestCase end end - private - def create_blob(data: "Hello world!", filename: "hello.txt", content_type: "text/plain") - ActiveFile::Blob.create_after_upload! io: StringIO.new(data), filename: filename, content_type: content_type - end - def expected_url_for(blob, disposition: :inline) "/rails/blobs/#{ActiveFile::VerifiedKeyWithExpiration.encode(blob.key, expires_in: 5.minutes)}?disposition=#{disposition}" end |