diff options
-rw-r--r-- | spec/workers/mail/invite_email_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/mail/invite_email_spec.rb b/spec/workers/mail/invite_email_spec.rb index 6c94460e9..ef0ca75c7 100644 --- a/spec/workers/mail/invite_email_spec.rb +++ b/spec/workers/mail/invite_email_spec.rb @@ -9,6 +9,6 @@ describe Workers::Mail::InviteEmail do expect(EmailInviter).to receive(:new).with(emails, alice, message: message) .and_return(email_inviter) expect(email_inviter).to receive(:send!) - Workers::Mail::InviteEmail.new.perform(emails, alice, message: message) + Workers::Mail::InviteEmail.new.perform(emails, alice.id, message: message) end end |