diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 11bacb3b1d..6dcdb3b835 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -48,7 +48,6 @@ RSpec/ExampleLength: RSpec/LetSetup: Exclude: - 'spec/models/account_statuses_cleanup_policy_spec.rb' - - 'spec/services/activitypub/fetch_featured_collection_service_spec.rb' RSpec/MultipleExpectations: Max: 8 diff --git a/spec/services/activitypub/fetch_featured_collection_service_spec.rb b/spec/services/activitypub/fetch_featured_collection_service_spec.rb index 466da891a8..a98108cea3 100644 --- a/spec/services/activitypub/fetch_featured_collection_service_spec.rb +++ b/spec/services/activitypub/fetch_featured_collection_service_spec.rb @@ -87,6 +87,7 @@ RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do 'https://example.com/account/pinned/unknown-inlined', 'https://example.com/account/pinned/unknown-reachable' ) + expect(actor.pinned_statuses).to_not include(known_status) end end