aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/test/service')
-rw-r--r--activestorage/test/service/mirror_service_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/service/mirror_service_test.rb b/activestorage/test/service/mirror_service_test.rb
index 08efb095bc..40476d636e 100644
--- a/activestorage/test/service/mirror_service_test.rb
+++ b/activestorage/test/service/mirror_service_test.rb
@@ -60,7 +60,7 @@ class ActiveStorage::Service::MirrorServiceTest < ActiveSupport::TestCase
SecureRandom.base58(24).tap do |key|
io = StringIO.new(data).tap(&:read)
@service.upload key, io, checksum: Digest::MD5.base64digest(data)
- assert io.eof?
+ assert_predicate io, :eof?
end
end
end