mirror of https://github.com/mastodon/mastodon
Fix `RSpec/LetSetup` cop in ap/fetch_featured_collection_service (#28461)
This commit is contained in:
parent
e6e217fedd
commit
a4d49c236d
|
@ -48,7 +48,6 @@ RSpec/ExampleLength:
|
||||||
RSpec/LetSetup:
|
RSpec/LetSetup:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/models/account_statuses_cleanup_policy_spec.rb'
|
- 'spec/models/account_statuses_cleanup_policy_spec.rb'
|
||||||
- 'spec/services/activitypub/fetch_featured_collection_service_spec.rb'
|
|
||||||
|
|
||||||
RSpec/MultipleExpectations:
|
RSpec/MultipleExpectations:
|
||||||
Max: 8
|
Max: 8
|
||||||
|
|
|
@ -87,6 +87,7 @@ RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do
|
||||||
'https://example.com/account/pinned/unknown-inlined',
|
'https://example.com/account/pinned/unknown-inlined',
|
||||||
'https://example.com/account/pinned/unknown-reachable'
|
'https://example.com/account/pinned/unknown-reachable'
|
||||||
)
|
)
|
||||||
|
expect(actor.pinned_statuses).to_not include(known_status)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue