Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/concerns/token_authenticatable_spec.rb')
-rw-r--r--spec/models/concerns/token_authenticatable_spec.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/models/concerns/token_authenticatable_spec.rb b/spec/models/concerns/token_authenticatable_spec.rb
index 82076600f3b..eb64f3d0c83 100644
--- a/spec/models/concerns/token_authenticatable_spec.rb
+++ b/spec/models/concerns/token_authenticatable_spec.rb
@@ -18,26 +18,6 @@ describe User, 'TokenAuthenticatable' do
subject { create(:user).send(token_field) }
it { is_expected.to be_a String }
end
-
- describe 'lfs token' do
- let(:token_field) { :lfs_token }
- it_behaves_like 'TokenAuthenticatable'
-
- describe 'ensure it' do
- subject { create(:user).send(token_field) }
- it { is_expected.to be_a String }
- end
- end
-end
-
-describe DeployKey, 'TokenAuthenticatable' do
- let(:token_field) { :lfs_token }
- it_behaves_like 'TokenAuthenticatable'
-
- describe 'ensures authentication token' do
- subject { create(:deploy_key).send(token_field) }
- it { is_expected.to be_a String }
- end
end
describe ApplicationSetting, 'TokenAuthenticatable' do