Commit b1ef7d7a44dc135faa179c6223eabb7bb8822f0b
1 parent
51ef5b92
Exists in
master
and in
4 other branches
fix typo in spec
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/requests/api/projects_spec.rb
@@ -239,7 +239,7 @@ describe Gitlab::API do | @@ -239,7 +239,7 @@ describe Gitlab::API do | ||
239 | end | 239 | end |
240 | 240 | ||
241 | describe "GET /projects/:id/snippets" do | 241 | describe "GET /projects/:id/snippets" do |
242 | - it "should return a project snippet" do | 242 | + it "should return an array of project snippets" do |
243 | get api("/projects/#{project.code}/snippets", user) | 243 | get api("/projects/#{project.code}/snippets", user) |
244 | response.status.should == 200 | 244 | response.status.should == 200 |
245 | json_response.should be_an Array | 245 | json_response.should be_an Array |