Commit 61b861cc authored by Rémy Coutable's avatar Rémy Coutable

Fix spec/workers/admin_emails_worker_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 7fd912ae
......@@ -38,7 +38,7 @@ describe AdminEmailsWorker do
it "sends email to subscribed users" do
perform_enqueued_jobs do
described_class.new.perform(recipient_id, 'subject', 'body')
expect(ActionMailer::Base.deliveries.count).to be 2
expect(ActionMailer::Base.deliveries.count).to be 3
end
end
end
......
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