BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
98dd4927
Commit
98dd4927
authored
Jan 26, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/issues-spec' into 'master'
Fix spec failures in issues_spec.rb Closes #42488 See merge request gitlab-org/gitlab-ce!16744
parents
208ac01a
77d91f55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
issues_spec.rb
spec/requests/api/issues_spec.rb
+2
-2
No files found.
spec/requests/api/issues_spec.rb
View file @
98dd4927
...
...
@@ -1441,7 +1441,7 @@ describe API::Issues, :mailer do
context
'when source project does not exist'
do
it
'returns 404 when trying to move an issue'
do
post
api
(
"/projects/123/issues/
#{
issue
.
iid
}
/move"
,
user
),
post
api
(
"/projects/123
45
/issues/
#{
issue
.
iid
}
/move"
,
user
),
to_project_id:
target_project
.
id
expect
(
response
).
to
have_gitlab_http_status
(
404
)
...
...
@@ -1452,7 +1452,7 @@ describe API::Issues, :mailer do
context
'when target project does not exist'
do
it
'returns 404 when trying to move an issue'
do
post
api
(
"/projects/
#{
project
.
id
}
/issues/
#{
issue
.
iid
}
/move"
,
user
),
to_project_id:
123
to_project_id:
123
45
expect
(
response
).
to
have_gitlab_http_status
(
404
)
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