fix typo in spec
This commit is contained in:
parent
51ef5b9297
commit
b1ef7d7a44
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue