Audofix Rubocop Style/WordArray (#23739)
This commit is contained in:
parent
4552685f6b
commit
bf785df9fe
17 changed files with 27 additions and 50 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue