From dd5872eecb2b772a45c9120db5e4409bd65f3d35 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 25 Sep 2014 17:46:51 +1000 Subject: [PATCH] remove warnings --- spec/controllers/users_controller_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index cb3336597..3c6ff7fbf 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -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)