diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-23 14:09:45 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-05-24 22:29:59 +0200 |
commit | ff8ecbca17234897b26ea8de5caecaef1667d12d (patch) | |
tree | 8f7966d5cbf2684772dbbf5ec05ccee1f48b76e0 /spec | |
parent | 3713a57fe8c40bfccaa668d081caccb92354b1da (diff) | |
download | gitlab-ce-ff8ecbca17234897b26ea8de5caecaef1667d12d.tar.gz |
rake task to reset all rss tokens
Diffstat (limited to 'spec')
-rw-r--r-- | spec/tasks/tokens_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/tasks/tokens_spec.rb b/spec/tasks/tokens_spec.rb index 19036c7677c..b84137eb365 100644 --- a/spec/tasks/tokens_spec.rb +++ b/spec/tasks/tokens_spec.rb @@ -18,4 +18,10 @@ describe 'tokens rake tasks' do expect { run_rake_task('tokens:reset_all_email') }.to change { user.reload.incoming_email_token } end end + + describe 'reset_all_rss task' do + it 'invokes create_hooks task' do + expect { run_rake_task('tokens:reset_all_rss') }.to change { user.reload.rss_token } + end + end end |