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
ceed7a95
Commit
ceed7a95
authored
Jan 30, 2020
by
Nick Thomas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ck3g-remove-duplicated-test' into 'master'
Remove duplicate test See merge request gitlab-org/gitlab!23855
parents
defea506
464f2772
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
spec/controllers/projects/issues_controller_spec.rb
spec/controllers/projects/issues_controller_spec.rb
+0
-7
No files found.
spec/controllers/projects/issues_controller_spec.rb
View file @
ceed7a95
...
...
@@ -1152,13 +1152,6 @@ describe Projects::IssuesController do
expect
(
controller
).
to
set_flash
[
:notice
].
to
(
/The issue was successfully deleted\./
)
end
it
"deletes the issue"
do
delete
:destroy
,
params:
{
namespace_id:
project
.
namespace
,
project_id:
project
,
id:
issue
.
iid
,
destroy_confirm:
true
}
expect
(
response
).
to
have_gitlab_http_status
(
:found
)
expect
(
controller
).
to
set_flash
[
:notice
].
to
(
/The issue was successfully deleted\./
)
end
it
"prevents deletion if destroy_confirm is not set"
do
expect
(
Gitlab
::
ErrorTracking
).
to
receive
(
:track_exception
).
and_call_original
...
...
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