{"action":"created","comment":{"url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/comments/22520476","id":22520476,"diff_hunk":"@@ -26,17 +26,15 @@\n \n     it \"should create attachment\" do\n       expect {\n-        post :create, post: {subject: \"New Test\", content: \"test content\" },\n-          post_id: post2.id, attachments_field: \"\", files: [file], format: :JSON\n+        post :create, format: :json, post: {subject: \"New Test\", content: \"test content\" }, post_id: post2.id, attachments_field: \"\", files: [file]\n       }.to change(Attachment, :count).by(1)\n     end\n \n     it \"should not create attachment\" do\n       expect {\n-        post :create, post: {subject: \"New Test\", content: \"test content\" },\n-          post_id: post2.id, attachments_field: \"\", files: [invalid_file], format: :JSON\n+        post :create, format: :json, post: {subject: \"New Test\", content: \"test content\" }, post_id: post2.id, attachments_field: \"\", files: [invalid_file]","path":"spec/controllers/attachments_controller_spec.rb","position":29,"original_position":29,"commit_id":"d77cc0816b739e45ea50dcdb5ddd2db2c9b5e8a0","original_commit_id":"d77cc0816b739e45ea50dcdb5ddd2db2c9b5e8a0","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","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. [155/80]<br>Space inside { missing.","created_at":"2015-01-06T12:21:17Z","updated_at":"2015-01-06T12:21:17Z","html_url":"https://github.com/rohandaxini/knowbuddy/pull/29#discussion_r22520476","pull_request_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/comments/22520476"},"html":{"href":"https://github.com/rohandaxini/knowbuddy/pull/29#discussion_r22520476"},"pull_request":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29","id":26874924,"html_url":"https://github.com/rohandaxini/knowbuddy/pull/29","diff_url":"https://github.com/rohandaxini/knowbuddy/pull/29.diff","patch_url":"https://github.com/rohandaxini/knowbuddy/pull/29.patch","issue_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/29","number":29,"state":"open","locked":false,"title":"Upgrading to rails 4","user":{"login":"namrataukirde","id":8424592,"avatar_url":"https://avatars.githubusercontent.com/u/8424592?v=3","gravatar_id":"","url":"https://api.github.com/users/namrataukirde","html_url":"https://github.com/namrataukirde","followers_url":"https://api.github.com/users/namrataukirde/followers","following_url":"https://api.github.com/users/namrataukirde/following{/other_user}","gists_url":"https://api.github.com/users/namrataukirde/gists{/gist_id}","starred_url":"https://api.github.com/users/namrataukirde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namrataukirde/subscriptions","organizations_url":"https://api.github.com/users/namrataukirde/orgs","repos_url":"https://api.github.com/users/namrataukirde/repos","events_url":"https://api.github.com/users/namrataukirde/events{/privacy}","received_events_url":"https://api.github.com/users/namrataukirde/received_events","type":"User","site_admin":false},"body":"Hello Team, \r\n    This branch has changes for upgrading rails and ruby. Please review it and let me know if any changes are required.\r\n\r\ncompleted with-\r\n  - [x] Upgrading from rails 3.2.17 to rails 4.1.8\r\n  - [x] Used ruby 2.1.5 version\r\n\r\nThanks,\r\nNamrata","created_at":"2015-01-06T08:05:50Z","updated_at":"2015-01-06T12:21:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35935cc01f405981336b8c41a9e7d0d5b2bb1df4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29/commits","review_comments_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29/comments","review_comment_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/29/comments","statuses_url":"https://api.github.com/repos/rohandaxini/knowbuddy/statuses/d77cc0816b739e45ea50dcdb5ddd2db2c9b5e8a0","head":{"label":"rohandaxini:upgrading_to_rails_4","ref":"upgrading_to_rails_4","sha":"d77cc0816b739e45ea50dcdb5ddd2db2c9b5e8a0","user":{"login":"rohandaxini","id":970712,"avatar_url":"https://avatars.githubusercontent.com/u/970712?v=3","gravatar_id":"","url":"https://api.github.com/users/rohandaxini","html_url":"https://github.com/rohandaxini","followers_url":"https://api.github.com/users/rohandaxini/followers","following_url":"https://api.github.com/users/rohandaxini/following{/other_user}","gists_url":"https://api.github.com/users/rohandaxini/gists{/gist_id}","starred_url":"https://api.github.com/users/rohandaxini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohandaxini/subscriptions","organizations_url":"https://api.github.com/users/rohandaxini/orgs","repos_url":"https://api.github.com/users/rohandaxini/repos","events_url":"https://api.github.com/users/rohandaxini/events{/privacy}","received_events_url":"https://api.github.com/users/rohandaxini/received_events","type":"User","site_admin":false},"repo":{"id":3616675,"name":"knowbuddy","full_name":"rohandaxini/knowbuddy","owner":{"login":"rohandaxini","id":970712,"avatar_url":"https://avatars.githubusercontent.com/u/970712?v=3","gravatar_id":"","url":"https://api.github.com/users/rohandaxini","html_url":"https://github.com/rohandaxini","followers_url":"https://api.github.com/users/rohandaxini/followers","following_url":"https://api.github.com/users/rohandaxini/following{/other_user}","gists_url":"https://api.github.com/users/rohandaxini/gists{/gist_id}","starred_url":"https://api.github.com/users/rohandaxini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohandaxini/subscriptions","organizations_url":"https://api.github.com/users/rohandaxini/orgs","repos_url":"https://api.github.com/users/rohandaxini/repos","events_url":"https://api.github.com/users/rohandaxini/events{/privacy}","received_events_url":"https://api.github.com/users/rohandaxini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohandaxini/knowbuddy","description":"Kiprosh Knowledge Portal","fork":false,"url":"https://api.github.com/repos/rohandaxini/knowbuddy","forks_url":"https://api.github.com/repos/rohandaxini/knowbuddy/forks","keys_url":"https://api.github.com/repos/rohandaxini/knowbuddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohandaxini/knowbuddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohandaxini/knowbuddy/teams","hooks_url":"https://api.github.com/repos/rohandaxini/knowbuddy/hooks","issue_events_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/events{/number}","events_url":"https://api.github.com/repos/rohandaxini/knowbuddy/events","assignees_url":"https://api.github.com/repos/rohandaxini/knowbuddy/assignees{/user}","branches_url":"https://api.github.com/repos/rohandaxini/knowbuddy/branches{/branch}","tags_url":"https://api.github.com/repos/rohandaxini/knowbuddy/tags","blobs_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohandaxini/knowbuddy/statuses/{sha}","languages_url":"https://api.github.com/repos/rohandaxini/knowbuddy/languages","stargazers_url":"https://api.github.com/repos/rohandaxini/knowbuddy/stargazers","contributors_url":"https://api.github.com/repos/rohandaxini/knowbuddy/contributors","subscribers_url":"https://api.github.com/repos/rohandaxini/knowbuddy/subscribers","subscription_url":"https://api.github.com/repos/rohandaxini/knowbuddy/subscription","commits_url":"https://api.github.com/repos/rohandaxini/knowbuddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohandaxini/knowbuddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/comments/{number}","contents_url":"https://api.github.com/repos/rohandaxini/knowbuddy/contents/{+path}","compare_url":"https://api.github.com/repos/rohandaxini/knowbuddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohandaxini/knowbuddy/merges","archive_url":"https://api.github.com/repos/rohandaxini/knowbuddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohandaxini/knowbuddy/downloads","issues_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues{/number}","pulls_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls{/number}","milestones_url":"https://api.github.com/repos/rohandaxini/knowbuddy/milestones{/number}","notifications_url":"https://api.github.com/repos/rohandaxini/knowbuddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohandaxini/knowbuddy/labels{/name}","releases_url":"https://api.github.com/repos/rohandaxini/knowbuddy/releases{/id}","created_at":"2012-03-04T07:19:54Z","updated_at":"2014-09-03T06:35:20Z","pushed_at":"2015-01-06T12:20:59Z","git_url":"git://github.com/rohandaxini/knowbuddy.git","ssh_url":"git@github.com:rohandaxini/knowbuddy.git","clone_url":"https://github.com/rohandaxini/knowbuddy.git","svn_url":"https://github.com/rohandaxini/knowbuddy","homepage":"","size":2480,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"rohandaxini:master","ref":"master","sha":"d63a89b1ed7c32df0b38408ce609472bcc2d0b12","user":{"login":"rohandaxini","id":970712,"avatar_url":"https://avatars.githubusercontent.com/u/970712?v=3","gravatar_id":"","url":"https://api.github.com/users/rohandaxini","html_url":"https://github.com/rohandaxini","followers_url":"https://api.github.com/users/rohandaxini/followers","following_url":"https://api.github.com/users/rohandaxini/following{/other_user}","gists_url":"https://api.github.com/users/rohandaxini/gists{/gist_id}","starred_url":"https://api.github.com/users/rohandaxini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohandaxini/subscriptions","organizations_url":"https://api.github.com/users/rohandaxini/orgs","repos_url":"https://api.github.com/users/rohandaxini/repos","events_url":"https://api.github.com/users/rohandaxini/events{/privacy}","received_events_url":"https://api.github.com/users/rohandaxini/received_events","type":"User","site_admin":false},"repo":{"id":3616675,"name":"knowbuddy","full_name":"rohandaxini/knowbuddy","owner":{"login":"rohandaxini","id":970712,"avatar_url":"https://avatars.githubusercontent.com/u/970712?v=3","gravatar_id":"","url":"https://api.github.com/users/rohandaxini","html_url":"https://github.com/rohandaxini","followers_url":"https://api.github.com/users/rohandaxini/followers","following_url":"https://api.github.com/users/rohandaxini/following{/other_user}","gists_url":"https://api.github.com/users/rohandaxini/gists{/gist_id}","starred_url":"https://api.github.com/users/rohandaxini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohandaxini/subscriptions","organizations_url":"https://api.github.com/users/rohandaxini/orgs","repos_url":"https://api.github.com/users/rohandaxini/repos","events_url":"https://api.github.com/users/rohandaxini/events{/privacy}","received_events_url":"https://api.github.com/users/rohandaxini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rohandaxini/knowbuddy","description":"Kiprosh Knowledge Portal","fork":false,"url":"https://api.github.com/repos/rohandaxini/knowbuddy","forks_url":"https://api.github.com/repos/rohandaxini/knowbuddy/forks","keys_url":"https://api.github.com/repos/rohandaxini/knowbuddy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rohandaxini/knowbuddy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rohandaxini/knowbuddy/teams","hooks_url":"https://api.github.com/repos/rohandaxini/knowbuddy/hooks","issue_events_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/events{/number}","events_url":"https://api.github.com/repos/rohandaxini/knowbuddy/events","assignees_url":"https://api.github.com/repos/rohandaxini/knowbuddy/assignees{/user}","branches_url":"https://api.github.com/repos/rohandaxini/knowbuddy/branches{/branch}","tags_url":"https://api.github.com/repos/rohandaxini/knowbuddy/tags","blobs_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rohandaxini/knowbuddy/statuses/{sha}","languages_url":"https://api.github.com/repos/rohandaxini/knowbuddy/languages","stargazers_url":"https://api.github.com/repos/rohandaxini/knowbuddy/stargazers","contributors_url":"https://api.github.com/repos/rohandaxini/knowbuddy/contributors","subscribers_url":"https://api.github.com/repos/rohandaxini/knowbuddy/subscribers","subscription_url":"https://api.github.com/repos/rohandaxini/knowbuddy/subscription","commits_url":"https://api.github.com/repos/rohandaxini/knowbuddy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rohandaxini/knowbuddy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rohandaxini/knowbuddy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/comments/{number}","contents_url":"https://api.github.com/repos/rohandaxini/knowbuddy/contents/{+path}","compare_url":"https://api.github.com/repos/rohandaxini/knowbuddy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rohandaxini/knowbuddy/merges","archive_url":"https://api.github.com/repos/rohandaxini/knowbuddy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rohandaxini/knowbuddy/downloads","issues_url":"https://api.github.com/repos/rohandaxini/knowbuddy/issues{/number}","pulls_url":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls{/number}","milestones_url":"https://api.github.com/repos/rohandaxini/knowbuddy/milestones{/number}","notifications_url":"https://api.github.com/repos/rohandaxini/knowbuddy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rohandaxini/knowbuddy/labels{/name}","releases_url":"https://api.github.com/repos/rohandaxini/knowbuddy/releases{/id}","created_at":"2012-03-04T07:19:54Z","updated_at":"2014-09-03T06:35:20Z","pushed_at":"2015-01-06T12:20:59Z","git_url":"git://github.com/rohandaxini/knowbuddy.git","ssh_url":"git@github.com:rohandaxini/knowbuddy.git","clone_url":"https://github.com/rohandaxini/knowbuddy.git","svn_url":"https://github.com/rohandaxini/knowbuddy","homepage":"","size":2480,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29"},"html":{"href":"https://github.com/rohandaxini/knowbuddy/pull/29"},"issue":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/29"},"comments":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/rohandaxini/knowbuddy/statuses/d77cc0816b739e45ea50dcdb5ddd2db2c9b5e8a0"}}}}