2
0

Reduce .times usage in request and controller specs (#27949)

This commit is contained in:
Matt Jankowski
2023-11-21 08:05:59 -05:00
committed by GitHub
parent f7cb64a184
commit 32e19e3af6
12 changed files with 24 additions and 24 deletions

View File

@@ -15,7 +15,7 @@ RSpec.describe 'Accounts' do
let(:params) { { limit: 0 } }
let(:list) { Fabricate(:list, account: user.account) }
let(:accounts) { Fabricate.times(3, :account) }
let(:accounts) { Fabricate.times(2, :account) }
let(:expected_response) do
accounts.map do |account|