Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e4776da1
Commit
e4776da1
authored
Mar 07, 2022
by
huzaifaiftikhar1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant RSpec for deploy tokens controller
parent
eea53648
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
ee/spec/services/ee/groups/deploy_tokens/destroy_service_spec.rb
.../services/ee/groups/deploy_tokens/destroy_service_spec.rb
+0
-5
No files found.
ee/spec/services/ee/groups/deploy_tokens/destroy_service_spec.rb
View file @
e4776da1
...
...
@@ -11,11 +11,6 @@ RSpec.describe Groups::DeployTokens::DestroyService do
describe
'#execute'
do
subject
{
described_class
.
new
(
entity
,
user
,
deploy_token_params
).
execute
}
it
"destroys a token record and it's associated DeployToken"
do
expect
{
subject
}.
to
change
{
GroupDeployToken
.
count
}.
by
(
-
1
)
.
and
change
{
DeployToken
.
count
}.
by
(
-
1
)
end
it
"creates an audit event"
do
expect
{
subject
}.
to
change
{
AuditEvent
.
count
}.
by
(
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment