about summary refs log tree commit diff
path: root/spec/services/activitypub/fetch_featured_collection_service_spec.rb
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-10-21 18:48:22 +0900
committerGitHub <noreply@github.com>2022-10-21 11:48:22 +0200
commit94feb2b93ff1f381f8dba1ad361a2afd134f02a8 (patch)
treec94058e6db30b1979dc43361045f5a195d86b4f9 /spec/services/activitypub/fetch_featured_collection_service_spec.rb
parent5e908c5a95a64a4d48e35516723955ac61a15c4d (diff)
Fix `FetchFeaturedCollectionService` spec (#19401)
Regression from #19380
Diffstat (limited to 'spec/services/activitypub/fetch_featured_collection_service_spec.rb')
-rw-r--r--spec/services/activitypub/fetch_featured_collection_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/activitypub/fetch_featured_collection_service_spec.rb b/spec/services/activitypub/fetch_featured_collection_service_spec.rb
index f552b9dc0..e6336dc1b 100644
--- a/spec/services/activitypub/fetch_featured_collection_service_spec.rb
+++ b/spec/services/activitypub/fetch_featured_collection_service_spec.rb
@@ -65,7 +65,7 @@ RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do
       stub_request(:get, 'https://example.com/account/pinned/3').to_return(status: 404)
       stub_request(:get, 'https://example.com/account/pinned/4').to_return(status: 200, body: Oj.dump(status_json_4))
 
-      subject.call(actor)
+      subject.call(actor, note: true, hashtag: false)
     end
 
     it 'sets expected posts as pinned posts' do