fix typo in spec

This commit is contained in:
Nihad Abbasov 2012-10-10 05:11:40 -07:00
parent 51ef5b9297
commit b1ef7d7a44

View file

@ -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