Skip to content
Snippets Groups Projects
Commit 184226ed authored by Douwe Maan's avatar Douwe Maan Committed by Valery Sizov
Browse files

Fix specs

parent 21e0c360
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,8 +16,6 @@
 
it "sends email to subscribed users" do
AdminEmailsWorker.new.perform(recipient_id, 'subject', 'body')
expect(Sidekiq::Extensions::DelayedMailer.jobs.count).to eql 2
Sidekiq::Extensions::DelayedMailer.drain
expect(ActionMailer::Base.deliveries.count).to eql 2
end
end
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