Fix the build

This commit is contained in:
Arpit Jalan 2017-04-15 15:52:35 +05:30
parent 0954367bf4
commit 7389831961
1 changed files with 0 additions and 1 deletions

View File

@ -230,7 +230,6 @@ describe Invite do
it 'does not enqueue an email if the user has already set password' do
Fabricate(:user, email: invite.email, password_hash: "7af7805c9ee3697ed1a83d5e3cb5a3a431d140933a87fdcdc5a42aeef9337f81")
Jobs.expects(:enqueue).with(:invite_password_instructions_email, has_key(:username)).never
Jobs.expects(:enqueue).with(:critical_user_email, has_entries(type: :signup)) # should enqueue an account activation email
invite.redeem
end