DEV: Enable invite_spec test again
This commit is contained in:
parent
314a16bd37
commit
87c2cbe062
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue