{"action":"created","comment":{"url":"https://api.github.com/repos/systers/language-translation/pulls/comments/34132611","id":34132611,"diff_hunk":"@@ -0,0 +1,137 @@\n+require \"test_helper\"\n+\n+class API::LanguagesControllerTest < ActionController::TestCase\n+  tests API::LanguagesController\n+\n+  def setup\n+    @request.host = \"localshot:3000\"\n+\n+    @user = create(:user)\n+    @user.add_role :admin","path":"test/api/languages_controller_test.rb","position":10,"original_position":10,"commit_id":"6e29bf2dac8c5f4d9471dffcfaa35f62ce042c2f","original_commit_id":"6e29bf2dac8c5f4d9471dffcfaa35f62ce042c2f","user":{"login":"isuriupeksha","id":7909691,"avatar_url":"https://avatars.githubusercontent.com/u/7909691?v=3","gravatar_id":"","url":"https://api.github.com/users/isuriupeksha","html_url":"https://github.com/isuriupeksha","followers_url":"https://api.github.com/users/isuriupeksha/followers","following_url":"https://api.github.com/users/isuriupeksha/following{/other_user}","gists_url":"https://api.github.com/users/isuriupeksha/gists{/gist_id}","starred_url":"https://api.github.com/users/isuriupeksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuriupeksha/subscriptions","organizations_url":"https://api.github.com/users/isuriupeksha/orgs","repos_url":"https://api.github.com/users/isuriupeksha/repos","events_url":"https://api.github.com/users/isuriupeksha/events{/privacy}","received_events_url":"https://api.github.com/users/isuriupeksha/received_events","type":"User","site_admin":false},"body":"@wonook I didn't get you. ","created_at":"2015-07-08T10:02:25Z","updated_at":"2015-07-08T10:02:25Z","html_url":"https://github.com/systers/language-translation/pull/34#discussion_r34132611","pull_request_url":"https://api.github.com/repos/systers/language-translation/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/systers/language-translation/pulls/comments/34132611"},"html":{"href":"https://github.com/systers/language-translation/pull/34#discussion_r34132611"},"pull_request":{"href":"https://api.github.com/repos/systers/language-translation/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/systers/language-translation/pulls/34","id":38316504,"html_url":"https://github.com/systers/language-translation/pull/34","diff_url":"https://github.com/systers/language-translation/pull/34.diff","patch_url":"https://github.com/systers/language-translation/pull/34.patch","issue_url":"https://api.github.com/repos/systers/language-translation/issues/34","number":34,"state":"open","locked":false,"title":"#33 Implementation categorize feature","user":{"login":"isuriupeksha","id":7909691,"avatar_url":"https://avatars.githubusercontent.com/u/7909691?v=3","gravatar_id":"","url":"https://api.github.com/users/isuriupeksha","html_url":"https://github.com/isuriupeksha","followers_url":"https://api.github.com/users/isuriupeksha/followers","following_url":"https://api.github.com/users/isuriupeksha/following{/other_user}","gists_url":"https://api.github.com/users/isuriupeksha/gists{/gist_id}","starred_url":"https://api.github.com/users/isuriupeksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuriupeksha/subscriptions","organizations_url":"https://api.github.com/users/isuriupeksha/orgs","repos_url":"https://api.github.com/users/isuriupeksha/repos","events_url":"https://api.github.com/users/isuriupeksha/events{/privacy}","received_events_url":"https://api.github.com/users/isuriupeksha/received_events","type":"User","site_admin":false},"body":"Issue #33  - Implementation categorize feature.\r\n\r\n1. Categories can only created, update and delete by Admins\r\n2. Others can add into created article.\r\n3. API integration for category including test cases.\r\n4. API integration for language including test cases.\r\n5. Removed `fixture`, but support `factory_girl_rails`. \r\n\r\n\r\n-----------\r\n@SaumyaGurtu  Regarding the categorize feature implementation remaining task is how we can sort articles with selected category. I will include that update in next release. ","created_at":"2015-06-23T09:24:49Z","updated_at":"2015-07-08T10:02:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37558b7380ba707f387e314dc171e63b15d2477c","assignee":{"login":"SaumyaGurtu","id":6382581,"avatar_url":"https://avatars.githubusercontent.com/u/6382581?v=3","gravatar_id":"","url":"https://api.github.com/users/SaumyaGurtu","html_url":"https://github.com/SaumyaGurtu","followers_url":"https://api.github.com/users/SaumyaGurtu/followers","following_url":"https://api.github.com/users/SaumyaGurtu/following{/other_user}","gists_url":"https://api.github.com/users/SaumyaGurtu/gists{/gist_id}","starred_url":"https://api.github.com/users/SaumyaGurtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaumyaGurtu/subscriptions","organizations_url":"https://api.github.com/users/SaumyaGurtu/orgs","repos_url":"https://api.github.com/users/SaumyaGurtu/repos","events_url":"https://api.github.com/users/SaumyaGurtu/events{/privacy}","received_events_url":"https://api.github.com/users/SaumyaGurtu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/systers/language-translation/pulls/34/commits","review_comments_url":"https://api.github.com/repos/systers/language-translation/pulls/34/comments","review_comment_url":"https://api.github.com/repos/systers/language-translation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/language-translation/issues/34/comments","statuses_url":"https://api.github.com/repos/systers/language-translation/statuses/6e29bf2dac8c5f4d9471dffcfaa35f62ce042c2f","head":{"label":"systers:PLT#33-Categorize","ref":"PLT#33-Categorize","sha":"6e29bf2dac8c5f4d9471dffcfaa35f62ce042c2f","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":19032212,"name":"language-translation","full_name":"systers/language-translation","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/language-translation","description":"","fork":false,"url":"https://api.github.com/repos/systers/language-translation","forks_url":"https://api.github.com/repos/systers/language-translation/forks","keys_url":"https://api.github.com/repos/systers/language-translation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/language-translation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/language-translation/teams","hooks_url":"https://api.github.com/repos/systers/language-translation/hooks","issue_events_url":"https://api.github.com/repos/systers/language-translation/issues/events{/number}","events_url":"https://api.github.com/repos/systers/language-translation/events","assignees_url":"https://api.github.com/repos/systers/language-translation/assignees{/user}","branches_url":"https://api.github.com/repos/systers/language-translation/branches{/branch}","tags_url":"https://api.github.com/repos/systers/language-translation/tags","blobs_url":"https://api.github.com/repos/systers/language-translation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/language-translation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/language-translation/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/language-translation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/language-translation/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/language-translation/languages","stargazers_url":"https://api.github.com/repos/systers/language-translation/stargazers","contributors_url":"https://api.github.com/repos/systers/language-translation/contributors","subscribers_url":"https://api.github.com/repos/systers/language-translation/subscribers","subscription_url":"https://api.github.com/repos/systers/language-translation/subscription","commits_url":"https://api.github.com/repos/systers/language-translation/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/language-translation/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/language-translation/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/language-translation/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/language-translation/contents/{+path}","compare_url":"https://api.github.com/repos/systers/language-translation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/language-translation/merges","archive_url":"https://api.github.com/repos/systers/language-translation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/language-translation/downloads","issues_url":"https://api.github.com/repos/systers/language-translation/issues{/number}","pulls_url":"https://api.github.com/repos/systers/language-translation/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/language-translation/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/language-translation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/language-translation/labels{/name}","releases_url":"https://api.github.com/repos/systers/language-translation/releases{/id}","created_at":"2014-04-22T14:12:32Z","updated_at":"2015-06-16T12:02:44Z","pushed_at":"2015-07-08T08:38:28Z","git_url":"git://github.com/systers/language-translation.git","ssh_url":"git@github.com:systers/language-translation.git","clone_url":"https://github.com/systers/language-translation.git","svn_url":"https://github.com/systers/language-translation","homepage":null,"size":14193,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":16,"forks":11,"open_issues":16,"watchers":5,"default_branch":"develop"}},"base":{"label":"systers:develop","ref":"develop","sha":"da3aa8e95e611a3b427a9b3f0527d6c6c32d7783","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":19032212,"name":"language-translation","full_name":"systers/language-translation","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars.githubusercontent.com/u/6520415?v=3","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/language-translation","description":"","fork":false,"url":"https://api.github.com/repos/systers/language-translation","forks_url":"https://api.github.com/repos/systers/language-translation/forks","keys_url":"https://api.github.com/repos/systers/language-translation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/language-translation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/language-translation/teams","hooks_url":"https://api.github.com/repos/systers/language-translation/hooks","issue_events_url":"https://api.github.com/repos/systers/language-translation/issues/events{/number}","events_url":"https://api.github.com/repos/systers/language-translation/events","assignees_url":"https://api.github.com/repos/systers/language-translation/assignees{/user}","branches_url":"https://api.github.com/repos/systers/language-translation/branches{/branch}","tags_url":"https://api.github.com/repos/systers/language-translation/tags","blobs_url":"https://api.github.com/repos/systers/language-translation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/language-translation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/language-translation/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/language-translation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/language-translation/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/language-translation/languages","stargazers_url":"https://api.github.com/repos/systers/language-translation/stargazers","contributors_url":"https://api.github.com/repos/systers/language-translation/contributors","subscribers_url":"https://api.github.com/repos/systers/language-translation/subscribers","subscription_url":"https://api.github.com/repos/systers/language-translation/subscription","commits_url":"https://api.github.com/repos/systers/language-translation/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/language-translation/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/language-translation/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/language-translation/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/language-translation/contents/{+path}","compare_url":"https://api.github.com/repos/systers/language-translation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/language-translation/merges","archive_url":"https://api.github.com/repos/systers/language-translation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/language-translation/downloads","issues_url":"https://api.github.com/repos/systers/language-translation/issues{/number}","pulls_url":"https://api.github.com/repos/systers/language-translation/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/language-translation/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/language-translation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/language-translation/labels{/name}","releases_url":"https://api.github.com/repos/systers/language-translation/releases{/id}","created_at":"2014-04-22T14:12:32Z","updated_at":"2015-06-16T12:02:44Z","pushed_at":"2015-07-08T08:38:28Z","git_url":"git://github.com/systers/language-translation.git","ssh_url":"git@github.com:systers/language-translation.git","clone_url":"https://github.com/systers/language-translation.git","svn_url":"https://github.com/systers/language-translation","homepage":null,"size":14193,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":16,"forks":11,"open_issues":16,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/language-translation/pulls/34"},"html":{"href":"https://github.com/systers/language-translation/pull/34"},"issue":{"href":"https://api.github.com/repos/systers/language-translation/issues/34"},"comments":{"href":"https://api.github.com/repos/systers/language-translation/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/language-translation/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/language-translation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/language-translation/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/systers/language-translation/statuses/6e29bf2dac8c5f4d9471dffcfaa35f62ce042c2f"}}}}