{"action":"created","comment":{"url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/comments/37471418","id":37471418,"diff_hunk":"@@ -0,0 +1,59 @@\n+require 'rails_helper'\n+\n+describe Api::V1::ConceptsController, type: :controller do\n+\n+  context 'POST #create' do\n+    let!(:user) {FactoryGirl.create(:admin)}\n+    let!(:token) { double :acceptable? => true, :resource_owner_id => user.id }\n+    let!(:concept_name) {'Concept1'}\n+    let!(:parent_concept) {FactoryGirl.create(:concept)}\n+","path":"spec/controllers/api/v1/concepts_controller_spec.rb","position":10,"original_position":10,"commit_id":"877764cb707b1fb758e8043997bb7560ccf22411","original_commit_id":"877764cb707b1fb758e8043997bb7560ccf22411","user":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"body":"@kriskelly no worries, I appreciate the minor nitpicks so keep 'em coming. Sounds like a good idea, perhaps we can get rubocop involved...","created_at":"2015-08-19T21:35:20Z","updated_at":"2015-08-19T21:35:20Z","html_url":"https://github.com/empirical-org/Empirical-Core/pull/850#discussion_r37471418","pull_request_url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850","_links":{"self":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/comments/37471418"},"html":{"href":"https://github.com/empirical-org/Empirical-Core/pull/850#discussion_r37471418"},"pull_request":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850"}}},"pull_request":{"url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850","id":42623454,"html_url":"https://github.com/empirical-org/Empirical-Core/pull/850","diff_url":"https://github.com/empirical-org/Empirical-Core/pull/850.diff","patch_url":"https://github.com/empirical-org/Empirical-Core/pull/850.patch","issue_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/850","number":850,"state":"open","locked":false,"title":"api endpoints : #index for section, topic, topic_category, flags; #create for concepts; associated specs","user":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-17T19:16:25Z","updated_at":"2015-08-19T21:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85d67e4b3defba8522bb92a4df6d5efdf30c3895","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850/commits","review_comments_url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850/comments","review_comment_url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/850/comments","statuses_url":"https://api.github.com/repos/empirical-org/Empirical-Core/statuses/877764cb707b1fb758e8043997bb7560ccf22411","head":{"label":"marcellosachs:develop","ref":"develop","sha":"877764cb707b1fb758e8043997bb7560ccf22411","user":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"repo":{"id":39783398,"name":"Empirical-Core","full_name":"marcellosachs/Empirical-Core","owner":{"login":"marcellosachs","id":1789723,"avatar_url":"https://avatars.githubusercontent.com/u/1789723?v=3","gravatar_id":"","url":"https://api.github.com/users/marcellosachs","html_url":"https://github.com/marcellosachs","followers_url":"https://api.github.com/users/marcellosachs/followers","following_url":"https://api.github.com/users/marcellosachs/following{/other_user}","gists_url":"https://api.github.com/users/marcellosachs/gists{/gist_id}","starred_url":"https://api.github.com/users/marcellosachs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcellosachs/subscriptions","organizations_url":"https://api.github.com/users/marcellosachs/orgs","repos_url":"https://api.github.com/users/marcellosachs/repos","events_url":"https://api.github.com/users/marcellosachs/events{/privacy}","received_events_url":"https://api.github.com/users/marcellosachs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marcellosachs/Empirical-Core","description":"Empirical-Core is our web app for managing students, assigning activities, and viewing results. Core seamlessly incorporates 3rd party applications via the Empirical API.","fork":true,"url":"https://api.github.com/repos/marcellosachs/Empirical-Core","forks_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/forks","keys_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/teams","hooks_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/hooks","issue_events_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/issues/events{/number}","events_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/events","assignees_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/assignees{/user}","branches_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/branches{/branch}","tags_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/tags","blobs_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/languages","stargazers_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/stargazers","contributors_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/contributors","subscribers_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/subscribers","subscription_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/subscription","commits_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/contents/{+path}","compare_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/merges","archive_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/downloads","issues_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/issues{/number}","pulls_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/labels{/name}","releases_url":"https://api.github.com/repos/marcellosachs/Empirical-Core/releases{/id}","created_at":"2015-07-27T15:52:34Z","updated_at":"2015-07-27T15:52:35Z","pushed_at":"2015-08-19T20:11:41Z","git_url":"git://github.com/marcellosachs/Empirical-Core.git","ssh_url":"git@github.com:marcellosachs/Empirical-Core.git","clone_url":"https://github.com/marcellosachs/Empirical-Core.git","svn_url":"https://github.com/marcellosachs/Empirical-Core","homepage":"http://www.quill.org/","size":16291,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"empirical-org:develop","ref":"develop","sha":"08ad5dcf9b46e866bdeacb64f0cd58119fb33f43","user":{"login":"empirical-org","id":4258432,"avatar_url":"https://avatars.githubusercontent.com/u/4258432?v=3","gravatar_id":"","url":"https://api.github.com/users/empirical-org","html_url":"https://github.com/empirical-org","followers_url":"https://api.github.com/users/empirical-org/followers","following_url":"https://api.github.com/users/empirical-org/following{/other_user}","gists_url":"https://api.github.com/users/empirical-org/gists{/gist_id}","starred_url":"https://api.github.com/users/empirical-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/empirical-org/subscriptions","organizations_url":"https://api.github.com/users/empirical-org/orgs","repos_url":"https://api.github.com/users/empirical-org/repos","events_url":"https://api.github.com/users/empirical-org/events{/privacy}","received_events_url":"https://api.github.com/users/empirical-org/received_events","type":"Organization","site_admin":false},"repo":{"id":9678849,"name":"Empirical-Core","full_name":"empirical-org/Empirical-Core","owner":{"login":"empirical-org","id":4258432,"avatar_url":"https://avatars.githubusercontent.com/u/4258432?v=3","gravatar_id":"","url":"https://api.github.com/users/empirical-org","html_url":"https://github.com/empirical-org","followers_url":"https://api.github.com/users/empirical-org/followers","following_url":"https://api.github.com/users/empirical-org/following{/other_user}","gists_url":"https://api.github.com/users/empirical-org/gists{/gist_id}","starred_url":"https://api.github.com/users/empirical-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/empirical-org/subscriptions","organizations_url":"https://api.github.com/users/empirical-org/orgs","repos_url":"https://api.github.com/users/empirical-org/repos","events_url":"https://api.github.com/users/empirical-org/events{/privacy}","received_events_url":"https://api.github.com/users/empirical-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/empirical-org/Empirical-Core","description":"Empirical-Core is our web app for managing students, assigning activities, and viewing results. Core seamlessly incorporates 3rd party applications via the Empirical API.","fork":false,"url":"https://api.github.com/repos/empirical-org/Empirical-Core","forks_url":"https://api.github.com/repos/empirical-org/Empirical-Core/forks","keys_url":"https://api.github.com/repos/empirical-org/Empirical-Core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/empirical-org/Empirical-Core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/empirical-org/Empirical-Core/teams","hooks_url":"https://api.github.com/repos/empirical-org/Empirical-Core/hooks","issue_events_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/events{/number}","events_url":"https://api.github.com/repos/empirical-org/Empirical-Core/events","assignees_url":"https://api.github.com/repos/empirical-org/Empirical-Core/assignees{/user}","branches_url":"https://api.github.com/repos/empirical-org/Empirical-Core/branches{/branch}","tags_url":"https://api.github.com/repos/empirical-org/Empirical-Core/tags","blobs_url":"https://api.github.com/repos/empirical-org/Empirical-Core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/empirical-org/Empirical-Core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/empirical-org/Empirical-Core/git/refs{/sha}","trees_url":"https://api.github.com/repos/empirical-org/Empirical-Core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/empirical-org/Empirical-Core/statuses/{sha}","languages_url":"https://api.github.com/repos/empirical-org/Empirical-Core/languages","stargazers_url":"https://api.github.com/repos/empirical-org/Empirical-Core/stargazers","contributors_url":"https://api.github.com/repos/empirical-org/Empirical-Core/contributors","subscribers_url":"https://api.github.com/repos/empirical-org/Empirical-Core/subscribers","subscription_url":"https://api.github.com/repos/empirical-org/Empirical-Core/subscription","commits_url":"https://api.github.com/repos/empirical-org/Empirical-Core/commits{/sha}","git_commits_url":"https://api.github.com/repos/empirical-org/Empirical-Core/git/commits{/sha}","comments_url":"https://api.github.com/repos/empirical-org/Empirical-Core/comments{/number}","issue_comment_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/comments{/number}","contents_url":"https://api.github.com/repos/empirical-org/Empirical-Core/contents/{+path}","compare_url":"https://api.github.com/repos/empirical-org/Empirical-Core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/empirical-org/Empirical-Core/merges","archive_url":"https://api.github.com/repos/empirical-org/Empirical-Core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/empirical-org/Empirical-Core/downloads","issues_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues{/number}","pulls_url":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls{/number}","milestones_url":"https://api.github.com/repos/empirical-org/Empirical-Core/milestones{/number}","notifications_url":"https://api.github.com/repos/empirical-org/Empirical-Core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/empirical-org/Empirical-Core/labels{/name}","releases_url":"https://api.github.com/repos/empirical-org/Empirical-Core/releases{/id}","created_at":"2013-04-25T18:46:12Z","updated_at":"2015-07-26T13:20:09Z","pushed_at":"2015-08-19T20:11:42Z","git_url":"git://github.com/empirical-org/Empirical-Core.git","ssh_url":"git@github.com:empirical-org/Empirical-Core.git","clone_url":"https://github.com/empirical-org/Empirical-Core.git","svn_url":"https://github.com/empirical-org/Empirical-Core","homepage":"http://www.quill.org/","size":21306,"stargazers_count":111,"watchers_count":111,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"open_issues_count":115,"forks":116,"open_issues":115,"watchers":111,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850"},"html":{"href":"https://github.com/empirical-org/Empirical-Core/pull/850"},"issue":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/850"},"comments":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/850/comments"},"review_comments":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850/comments"},"review_comment":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/pulls/850/commits"},"statuses":{"href":"https://api.github.com/repos/empirical-org/Empirical-Core/statuses/877764cb707b1fb758e8043997bb7560ccf22411"}}}}