mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
remove warnings
This commit is contained in:
parent
a901d682fe
commit
dd5872eecb
1 changed files with 4 additions and 4 deletions
|
@ -709,7 +709,7 @@ describe UsersController do
|
|||
it 'filters by email' do
|
||||
inviter = Fabricate(:user)
|
||||
invitee = Fabricate(:user)
|
||||
invite = Fabricate(
|
||||
_invite = Fabricate(
|
||||
:invite,
|
||||
email: 'billybob@example.com',
|
||||
invited_by: inviter,
|
||||
|
@ -732,7 +732,7 @@ describe UsersController do
|
|||
it 'filters by username' do
|
||||
inviter = Fabricate(:user)
|
||||
invitee = Fabricate(:user, username: 'billybob')
|
||||
invite = Fabricate(
|
||||
_invite = Fabricate(
|
||||
:invite,
|
||||
invited_by: inviter,
|
||||
email: 'billybob@example.com',
|
||||
|
@ -803,7 +803,7 @@ describe UsersController do
|
|||
it 'does not return invites' do
|
||||
user = log_in
|
||||
inviter = Fabricate(:user)
|
||||
invitee = Fabricate(:user)
|
||||
_invitee = Fabricate(:user)
|
||||
Fabricate(:invite, invited_by: inviter)
|
||||
stub_guardian(user) do |guardian|
|
||||
guardian.stubs(:can_see_invite_details?).
|
||||
|
@ -820,7 +820,7 @@ describe UsersController do
|
|||
|
||||
context 'with redeemed invites' do
|
||||
it 'returns invites' do
|
||||
user = log_in
|
||||
_user = log_in
|
||||
inviter = Fabricate(:user)
|
||||
invitee = Fabricate(:user)
|
||||
invite = Fabricate(:invite, invited_by: inviter, user: invitee)
|
||||
|
|
Loading…
Reference in a new issue