diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-09-15 19:54:24 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-09-15 20:21:00 +0300 |
commit | be09bcf074e6048aa9ba5f8dfb99754e6afbe156 (patch) | |
tree | 005f87b80bfe5e3f2320398252b18eb7601cbb8f /spec/lib/gitlab/lfs_token_spec.rb | |
parent | de24075ea5960bd7c6290c05496915e8f0ca23f2 (diff) |
Refactored authentication code to make it a bit clearer, added test for wrong SSH key.
Diffstat (limited to 'spec/lib/gitlab/lfs_token_spec.rb')
-rw-r--r-- | spec/lib/gitlab/lfs_token_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/lfs_token_spec.rb b/spec/lib/gitlab/lfs_token_spec.rb index 184f235c1b2..9f04f67e0a8 100644 --- a/spec/lib/gitlab/lfs_token_spec.rb +++ b/spec/lib/gitlab/lfs_token_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe Gitlab::LfsToken, lib: true do - describe '#set_token and #get_value' do + describe '#generate and #value' do shared_examples 'an LFS token generator' do it 'returns a randomly generated token' do token = handler.generate |