Commit b1ef7d7a authored by Nihad Abbasov's avatar Nihad Abbasov

fix typo in spec

parent 51ef5b92
......@@ -239,7 +239,7 @@ describe Gitlab::API 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)
response.status.should == 200
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