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
20 changed files with 53 additions and 76 deletions

View File

@@ -69,7 +69,7 @@ RSpec.describe Api::V1::ReportsController, type: :controller do
end
it 'saves rule_ids' do
expect(target_account.targeted_reports.first.rule_ids).to match_array([rule.id])
expect(target_account.targeted_reports.first.rule_ids).to contain_exactly(rule.id)
end
end
end