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
464f2772
Commit
464f2772
authored
Jan 28, 2020
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate test
parent
c2811c1c
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 @
464f2772
...
@@ -1152,13 +1152,6 @@ describe Projects::IssuesController do
...
@@ -1152,13 +1152,6 @@ describe Projects::IssuesController do
expect
(
controller
).
to
set_flash
[
:notice
].
to
(
/The issue was successfully deleted\./
)
expect
(
controller
).
to
set_flash
[
:notice
].
to
(
/The issue was successfully deleted\./
)
end
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
it
"prevents deletion if destroy_confirm is not set"
do
expect
(
Gitlab
::
ErrorTracking
).
to
receive
(
:track_exception
).
and_call_original
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