GitHub PullRequestReviewCommentEvent at 2014-04-24 23:15:46
Repository: gitlabhq
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/11977356","id":11977356,"diff_hunk":"@@ -634,15 +640,45 @@\n     end\n   end\n \n-   describe \"GET /projects/:id/labels\" do\n-    before { issue_with_labels }\n+  describe 'GET /projects/:id/labels' do\n+    context 'with an issue' do\n+      before { issue_with_labels }\n \n-    it \"should return project labels\" do\n-      get api(\"/projects/#{project.id}/labels\", user)\n-      response.status.should == 200\n-      json_response.should be_an Array\n-      json_response.first['name'].should == issue_with_labels.labels.first.name\n-      json_response.last['name'].should == issue_with_labels.labels.last.name\n+      it 'should return project labels' do\n+        get api(\"/projects/#{project.id}/labels\", user)\n+        response.status.should == 200\n+        json_response.should be_an Array\n+        json_response.first['name'].should == issue_with_labels.labels.first.name","path":"spec/requests/api/projects_spec.rb","position":33,"original_position":33,"commit_id":"bb9f5029c0796ae71ca1f91c566b7e1d215eb9c7","original_commit_id":"bb9f5029c0796ae71ca1f91c566b7e1d215eb9c7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [81/80]","created_at":"2014-04-24T23:15:46Z","updated_at":"2014-04-24T23:15:46Z","html_url":"https://github.com/gitlabhq/gitlabhq/pull/6778#discussion_r11977356","pull_request_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/6778","_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments/11977356"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/6778#discussion_r11977356"},"pull_request":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/6778"}}}}