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
454ebc4f
Commit
454ebc4f
authored
Jul 27, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/DescribedClass violation
parent
8322029f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/services/projects/destroy_service_spec.rb
spec/services/projects/destroy_service_spec.rb
+2
-2
No files found.
spec/services/projects/destroy_service_spec.rb
View file @
454ebc4f
...
...
@@ -127,7 +127,7 @@ describe Projects::DestroyService do
context
'errors'
do
context
'when `remove_legacy_registry_tags` fails'
do
before
do
expect_any_instance_of
(
Projects
::
DestroyService
)
expect_any_instance_of
(
described_class
)
.
to
receive
(
:remove_legacy_registry_tags
).
and_return
(
false
)
end
...
...
@@ -136,7 +136,7 @@ describe Projects::DestroyService do
context
'when `remove_repository` fails'
do
before
do
expect_any_instance_of
(
Projects
::
DestroyService
)
expect_any_instance_of
(
described_class
)
.
to
receive
(
:remove_repository
).
and_return
(
false
)
end
...
...
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