Skip to content
Snippets Groups Projects
Commit 77daebe6 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

More create_list

parent 91cebb72
No related branches found
No related tags found
1 merge request!3232Auto git fsck
Pipeline #
Loading
Loading
@@ -5,7 +5,7 @@ describe RepositoryCheckMailer do
 
describe '.notify' do
it 'emails all admins' do
admins = 3.times.map { create(:admin) }
admins = create_list(:admin, 3)
 
mail = described_class.notify(1)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment