Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service (#28461)

shrike
Matt Jankowski 2023-12-22 07:57:29 -05:00 committed by GitHub
parent e6e217fedd
commit a4d49c236d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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