diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-23 14:11:24 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-24 22:29:59 +0200 |
commit | c1b5c8069e18f76313925d7a7a267cb203d51f9d (patch) | |
tree | e21d60e9f72dfbb6df7747ba019b9d1ea3704336 /spec | |
parent | ff8ecbca17234897b26ea8de5caecaef1667d12d (diff) | |
download | gitlab-ce-c1b5c8069e18f76313925d7a7a267cb203d51f9d.tar.gz |
add missing spec for incoming email token presence
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/user_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index c395469f699..ca2b872729f 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -440,6 +440,13 @@ describe User, models: true do end end + describe 'ensure incoming email token' do + it 'has incoming email token' do + user = create(:user) + expect(user.incoming_email_token).not_to be_blank + end + end + describe 'rss token' do it 'has rss token' do user = create(:user) |