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

destroy_service_spec.rb « deploy_tokens « groups « services « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4ef596355851cc67997751c8a6634f80a40fdb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

describe Groups::DeployTokens::DestroyService 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