12 lines
347 B
Ruby
12 lines
347 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'spec_helper'
|
||
|
|
||
|
describe Projects::DeployTokens::DestroyService do
|
||
|
it_behaves_like 'a deploy token deletion service' do
|
||
|
let_it_be(:entity) { create(:project) }
|
||
|
let_it_be(:deploy_token_class) { ProjectDeployToken }
|
||
|
let_it_be(:deploy_token) { create(:deploy_token, projects: [entity]) }
|
||
|
end
|
||
|
end
|