summaryrefslogtreecommitdiff
path: root/spec/services/groups/deploy_tokens/destroy_service_spec.rb
blob: c4694758b2fc084d251b6c30847c5f597748859b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Groups::DeployTokens::DestroyService, feature_category: :deployment_management do
  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