DEV: Enable invite_spec test again

This commit is contained in:
romanrizzi 2019-05-16 18:55:36 -03:00
parent 314a16bd37
commit 87c2cbe062
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ describe Invite do
context "deletes duplicate invites" do context "deletes duplicate invites" do
fab!(:another_user) { Fabricate(:user) } fab!(:another_user) { Fabricate(:user) }
xit 'delete duplicate invite' do it 'delete duplicate invite' do
another_invite = Fabricate(:invite, email: invite.email, invited_by: another_user) another_invite = Fabricate(:invite, email: invite.email, invited_by: another_user)
invite.redeem invite.redeem
duplicate_invite = Invite.find_by(id: another_invite.id) duplicate_invite = Invite.find_by(id: another_invite.id)