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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
1bcb1ef8
Commit
1bcb1ef8
authored
Apr 25, 2016
by
Grzegorz Bizon
Committed by
Robert Speicher
May 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update specs for creating new note without access
parent
32b9276c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/requests/api/notes_spec.rb
spec/requests/api/notes_spec.rb
+2
-2
No files found.
spec/requests/api/notes_spec.rb
View file @
1bcb1ef8
...
@@ -258,8 +258,8 @@ describe API::API, api: true do
...
@@ -258,8 +258,8 @@ describe API::API, api: true do
body:
'Hi!'
body:
'Hi!'
end
end
it
'responds with
500
'
do
it
'responds with
resource not found error
'
do
expect
(
response
.
status
).
to
eq
500
expect
(
response
.
status
).
to
eq
404
end
end
it
'does not create new note'
do
it
'does not create new note'
do
...
...
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