From ebb94eb7db7d1d62f902bab004c7bb9fb67abf15 Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Thu, 15 Feb 2024 15:03:19 +0900 Subject: [PATCH] Fix test --- spec/lib/activitypub/activity/create_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/lib/activitypub/activity/create_spec.rb b/spec/lib/activitypub/activity/create_spec.rb index 2e303f82c27..80bdce49bac 100644 --- a/spec/lib/activitypub/activity/create_spec.rb +++ b/spec/lib/activitypub/activity/create_spec.rb @@ -137,6 +137,7 @@ RSpec.describe ActivityPub::Activity::Create do end it 'ignores unprocessable mention', :aggregate_failures do + stub_request(:get, invalid_mention_json[:tag][:href]).to_return(status: 500) # When receiving the post that contains an invalid mention… described_class.new(activity_for_object(invalid_mention_json), sender, delivery: true).perform