2
0

Audofix Rubocop Style/WordArray (#23739)

This commit is contained in:
Nick Schonning
2023-02-20 00:14:10 -05:00
committed by GitHub
parent 4552685f6b
commit bf785df9fe
17 changed files with 27 additions and 50 deletions

View File

@@ -895,7 +895,7 @@ RSpec.describe Account, type: :model do
describe 'partitioned' do
it 'returns a relation of accounts partitioned by domain' do
matches = ['a', 'b', 'a', 'b']
matches = %w(a b a b)
matches.size.times.to_a.shuffle.each do |index|
matches[index] = Fabricate(:account, domain: matches[index])
end