Autofix Rubocop RSpec/MatchArray (#24050)

This commit is contained in:
Nick Schonning 2023-04-26 14:21:54 -04:00 committed by GitHub
parent 91a8cd21d8
commit a3393d0d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 53 additions and 76 deletions

View file

@ -24,7 +24,7 @@ RSpec.describe FamiliarFollowersPresenter do
expect(result).to_not be_nil
expect(result.id).to eq requested_accounts.first.id
expect(result.accounts).to match_array([familiar_follower])
expect(result.accounts).to contain_exactly(familiar_follower)
end
context 'when requested account hides followers' do