Reduce .times
usage in request and controller specs (#27949)
This commit is contained in:
parent
f7cb64a184
commit
32e19e3af6
12 changed files with 24 additions and 24 deletions
|
@ -168,7 +168,7 @@ RSpec.describe 'Notifications' do
|
|||
end
|
||||
|
||||
before do
|
||||
Fabricate.times(3, :notification, account: user.account)
|
||||
Fabricate(:notification, account: user.account)
|
||||
end
|
||||
|
||||
it_behaves_like 'forbidden for wrong scope', 'read read:notifications'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue