2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

Fix the build

This commit is contained in:
Arpit Jalan 2017-04-15 15:52:35 +05:30
parent 0954367bf4
commit 7389831961

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