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
946c2071
Commit
946c2071
authored
Sep 23, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update expected response codes for board list controllers
parent
54169e0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ee/spec/controllers/boards/lists_controller_spec.rb
ee/spec/controllers/boards/lists_controller_spec.rb
+2
-2
spec/controllers/boards/lists_controller_spec.rb
spec/controllers/boards/lists_controller_spec.rb
+2
-2
No files found.
ee/spec/controllers/boards/lists_controller_spec.rb
View file @
946c2071
...
...
@@ -142,10 +142,10 @@ describe Boards::ListsController do
end
context
'with unauthorized user'
do
it
'returns a
forbidden 403
response'
do
it
'returns a
422 unprocessable entity
response'
do
move
user:
guest
,
board:
board
,
list:
planning
,
position:
6
expect
(
response
).
to
have_gitlab_http_status
(
4
03
)
expect
(
response
).
to
have_gitlab_http_status
(
4
22
)
end
end
...
...
spec/controllers/boards/lists_controller_spec.rb
View file @
946c2071
...
...
@@ -162,10 +162,10 @@ describe Boards::ListsController do
end
context
'with unauthorized user'
do
it
'returns a
forbidden 403
response'
do
it
'returns a
422 unprocessable entity
response'
do
move
user:
guest
,
board:
board
,
list:
planning
,
position:
6
expect
(
response
).
to
have_gitlab_http_status
(
4
03
)
expect
(
response
).
to
have_gitlab_http_status
(
4
22
)
end
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