diff --git a/spec/lib/upload_recovery_spec.rb b/spec/lib/upload_recovery_spec.rb index 32befa85396..1d3f74a9d55 100644 --- a/spec/lib/upload_recovery_spec.rb +++ b/spec/lib/upload_recovery_spec.rb @@ -15,7 +15,7 @@ RSpec.describe UploadRecovery do Fabricate(:post, raw: "![logo.png](#{upload.short_url})", user: user - ).link_post_uploads + ).tap(&:link_post_uploads) end before do