Commit 77daebe6 authored by Jacob Vosmaer's avatar Jacob Vosmaer

More create_list

parent 91cebb72
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment