2020-04-22 19:07:51 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2023-05-27 22:25:52 +05:30
|
|
|
RSpec.describe Groups::DeployTokens::DestroyService, feature_category: :deployment_management do
|
2020-04-22 19:07:51 +05:30
|
|
|
it_behaves_like 'a deploy token deletion service' do
|
|
|
|
let_it_be(:entity) { create(:group) }
|
|
|
|
let_it_be(:deploy_token_class) { GroupDeployToken }
|
|
|
|
let_it_be(:deploy_token) { create(:deploy_token, :group, groups: [entity]) }
|
|
|
|
end
|
|
|
|
end
|