Commit 2dc0f098 authored by Nihad Abbasov's avatar Nihad Abbasov

fix typos in specs

parent c6102063
...@@ -46,7 +46,7 @@ describe Gitlab::API do ...@@ -46,7 +46,7 @@ describe Gitlab::API do
response.status.should == 201 response.status.should == 201
end end
it "should repsond with 404 on failure" do it "should respond with 404 on failure" do
post api("/projects", user) post api("/projects", user)
response.status.should == 404 response.status.should == 404
end end
...@@ -239,7 +239,7 @@ describe Gitlab::API do ...@@ -239,7 +239,7 @@ describe Gitlab::API do
end end
describe "GET /projects/:id/snippets" do 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) get api("/projects/#{project.code}/snippets", user)
response.status.should == 200 response.status.should == 200
json_response.should be_an Array json_response.should be_an Array
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment