Commit 2d2a235c06fea4a1dba50da19eb3a98d9ea975a2
1 parent
da6b53a8
Exists in
master
and in
4 other branches
fixed omniauth email spec
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/observers/user_observer_spec.rb
@@ -16,7 +16,7 @@ describe UserObserver do | @@ -16,7 +16,7 @@ describe UserObserver do | ||
16 | end | 16 | end |
17 | 17 | ||
18 | it 'no email for external' do | 18 | it 'no email for external' do |
19 | - Notify.should_receive(:new_user_email) | 19 | + Notify.should_not_receive(:new_user_email) |
20 | create(:user, extern_uid: '32442eEfsafada') | 20 | create(:user, extern_uid: '32442eEfsafada') |
21 | end | 21 | end |
22 | 22 |