debian-mirror-gitlab/spec/services/groups/deploy_tokens/destroy_service_spec.rb
2020-08-09 17:41:57 +05:30

11 lines
353 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.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