summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-10-19 03:25:39 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-10-19 03:25:39 -0700
commit2dc0f098fdfe1d07e557f7da92b3cff9d7351276 (patch)
tree2782aa9f374306d2afba22a00cbf759879dcea4d
parentc61020632147e0855cf229bce81aa080ca1e5992 (diff)
downloadgitlab-ce-2dc0f098fdfe1d07e557f7da92b3cff9d7351276.tar.gz
fix typos in specs
-rw-r--r--spec/requests/api/projects_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index 51526f89fba..a6c270aa4a6 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -46,7 +46,7 @@ describe Gitlab::API do
response.status.should == 201
end
- it "should repsond with 404 on failure" do
+ it "should respond 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 an array of project snippets" do
get api("/projects/#{project.code}/snippets", user)
response.status.should == 200
json_response.should be_an Array