From 9cd2297b67ce1b339692c9ffad7fe057764861bf Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Wed, 26 Aug 2015 20:36:52 +0200 Subject: [PATCH] Updates tests for social sign up --- spec/features/users_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/users_spec.rb b/spec/features/users_spec.rb index 1fa30bcbe..829dcba03 100644 --- a/spec/features/users_spec.rb +++ b/spec/features/users_spec.rb @@ -74,7 +74,7 @@ feature 'Users' do expect do expect do expect do - click_link 'Sign in with Twitter' + click_link 'Sign up with Twitter' end.not_to change { ActionMailer::Base.deliveries.size } end.to change { Identity.count }.by(1) end.to change { User.count }.by(1) @@ -109,7 +109,7 @@ feature 'Users' do expect do expect do expect do - click_link 'Sign in with Twitter' + click_link 'Sign up with Twitter' end.not_to change { ActionMailer::Base.deliveries.size } end.to change { Identity.count }.by(1) end.to change { User.count }.by(1)