diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-08 06:13:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-08 06:13:36 +0300 |
commit | bdf7b581f80cf7119528eab0ac31e2c549563872 (patch) | |
tree | 23b20f65beb31a5ec35a273f9229e214eb8aa0bf /spec/services/keys | |
parent | 9c1accf52813b2b4b98ce85c9ec4a16fdbb86ee1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/keys')
-rw-r--r-- | spec/services/keys/create_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/keys/destroy_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/keys/expiry_notification_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/keys/last_used_service_spec.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/keys/create_service_spec.rb b/spec/services/keys/create_service_spec.rb index 1dbe383ad8e..0a9fe2f5856 100644 --- a/spec/services/keys/create_service_spec.rb +++ b/spec/services/keys/create_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Keys::CreateService do +RSpec.describe Keys::CreateService, feature_category: :source_code_management do let(:user) { create(:user) } let(:params) { attributes_for(:key) } diff --git a/spec/services/keys/destroy_service_spec.rb b/spec/services/keys/destroy_service_spec.rb index dd40f9d73fd..9f064cb7236 100644 --- a/spec/services/keys/destroy_service_spec.rb +++ b/spec/services/keys/destroy_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Keys::DestroyService do +RSpec.describe Keys::DestroyService, feature_category: :source_code_management do let(:user) { create(:user) } subject { described_class.new(user) } diff --git a/spec/services/keys/expiry_notification_service_spec.rb b/spec/services/keys/expiry_notification_service_spec.rb index 7cb6cbce311..b8db4f28df7 100644 --- a/spec/services/keys/expiry_notification_service_spec.rb +++ b/spec/services/keys/expiry_notification_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Keys::ExpiryNotificationService do +RSpec.describe Keys::ExpiryNotificationService, feature_category: :source_code_management do let_it_be_with_reload(:user) { create(:user) } let(:params) { { keys: user.keys, expiring_soon: expiring_soon } } diff --git a/spec/services/keys/last_used_service_spec.rb b/spec/services/keys/last_used_service_spec.rb index a2cd5ffdd38..3113fe27acf 100644 --- a/spec/services/keys/last_used_service_spec.rb +++ b/spec/services/keys/last_used_service_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe Keys::LastUsedService do +RSpec.describe Keys::LastUsedService, feature_category: :source_code_management do describe '#execute', :clean_gitlab_redis_shared_state do it 'updates the key when it has not been used recently' do key = create(:key, last_used_at: 1.year.ago) |