From d074a39d395044a1f358830a9c3db399d0c97f6d Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 27 Apr 2018 20:04:24 +0530 Subject: [PATCH] fix the build --- spec/models/invite_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/invite_spec.rb b/spec/models/invite_spec.rb index 78e6d2c4db1..af5dc736eeb 100644 --- a/spec/models/invite_spec.rb +++ b/spec/models/invite_spec.rb @@ -318,7 +318,7 @@ describe Invite do it 'will not redeem twice' do expect(invite.redeem).to be_present - expect(invite.redeem.send_welcome_message).to eq(false) + expect(invite.redeem.email).to eq(user.email) end end end