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
2dc0f098
Commit
2dc0f098
authored
Oct 19, 2012
by
Nihad Abbasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos in specs
parent
c6102063
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
projects_spec.rb
spec/requests/api/projects_spec.rb
+4
-4
No files found.
spec/requests/api/projects_spec.rb
View file @
2dc0f098
...
...
@@ -46,7 +46,7 @@ describe Gitlab::API do
response
.
status
.
should
==
201
end
it
"should re
ps
ond with 404 on failure"
do
it
"should re
sp
ond with 404 on failure"
do
post
api
(
"/projects"
,
user
)
response
.
status
.
should
==
404
end
...
...
@@ -188,7 +188,7 @@ describe Gitlab::API do
}.
to
change
{
project
.
hooks
.
count
}.
by
(
1
)
end
end
describe
"PUT /projects/:id/hooks/:hook_id"
do
it
"should update an existing project hook"
do
put
api
(
"/projects/
#{
project
.
code
}
/hooks/
#{
hook
.
id
}
"
,
user
),
...
...
@@ -197,7 +197,7 @@ describe Gitlab::API do
json_response
[
'url'
].
should
==
'http://example.com'
end
end
describe
"DELETE /projects/:id/hooks"
do
it
"should delete hook from project"
do
...
...
@@ -239,7 +239,7 @@ describe Gitlab::API do
end
describe
"GET /projects/:id/snippets"
do
it
"should return a
project snippet
"
do
it
"should return a
n array of project snippets
"
do
get
api
(
"/projects/
#{
project
.
code
}
/snippets"
,
user
)
response
.
status
.
should
==
200
json_response
.
should
be_an
Array
...
...
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