{"action":"created","comment":{"url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/comments/62217259","id":62217259,"diff_hunk":"@@ -0,0 +1,14 @@\n+require 'rails_helper'\n+\n+describe SectionIndexer do\n+  let(:indexer) { described_class.new(section) }\n+  let(:monograph) { create(:monograph) }","path":"spec/indexers/section_indexer_spec.rb","position":5,"original_position":5,"commit_id":"4a77fa8cb0dfda07e8821a71536642d259272fd2","original_commit_id":"4a77fa8cb0dfda07e8821a71536642d259272fd2","user":{"login":"val99erie","id":298865,"avatar_url":"https://avatars.githubusercontent.com/u/298865?v=3","gravatar_id":"","url":"https://api.github.com/users/val99erie","html_url":"https://github.com/val99erie","followers_url":"https://api.github.com/users/val99erie/followers","following_url":"https://api.github.com/users/val99erie/following{/other_user}","gists_url":"https://api.github.com/users/val99erie/gists{/gist_id}","starred_url":"https://api.github.com/users/val99erie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/val99erie/subscriptions","organizations_url":"https://api.github.com/users/val99erie/orgs","repos_url":"https://api.github.com/users/val99erie/repos","events_url":"https://api.github.com/users/val99erie/events{/privacy}","received_events_url":"https://api.github.com/users/val99erie/received_events","type":"User","site_admin":false},"body":"Instead of creating a monograph here, use a hard-coded ID:\r\n`let(:monograph_id) { '123' }`","created_at":"2016-05-05T16:58:34Z","updated_at":"2016-05-05T16:58:34Z","html_url":"https://github.com/curationexperts/heliotrope/pull/209#discussion_r62217259","pull_request_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209","_links":{"self":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/comments/62217259"},"html":{"href":"https://github.com/curationexperts/heliotrope/pull/209#discussion_r62217259"},"pull_request":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209"}}},"pull_request":{"url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209","id":68596312,"html_url":"https://github.com/curationexperts/heliotrope/pull/209","diff_url":"https://github.com/curationexperts/heliotrope/pull/209.diff","patch_url":"https://github.com/curationexperts/heliotrope/pull/209.patch","issue_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/209","number":209,"state":"open","locked":false,"title":"add the monograph's id to its section(s) for #187","user":{"login":"sethaj","id":3924142,"avatar_url":"https://avatars.githubusercontent.com/u/3924142?v=3","gravatar_id":"","url":"https://api.github.com/users/sethaj","html_url":"https://github.com/sethaj","followers_url":"https://api.github.com/users/sethaj/followers","following_url":"https://api.github.com/users/sethaj/following{/other_user}","gists_url":"https://api.github.com/users/sethaj/gists{/gist_id}","starred_url":"https://api.github.com/users/sethaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethaj/subscriptions","organizations_url":"https://api.github.com/users/sethaj/orgs","repos_url":"https://api.github.com/users/sethaj/repos","events_url":"https://api.github.com/users/sethaj/events{/privacy}","received_events_url":"https://api.github.com/users/sethaj/received_events","type":"User","site_admin":false},"body":"Makes the edit section page's monograph dropdown be set to the section's monograph.\r\n\r\nResolves #187 ","created_at":"2016-05-02T18:06:49Z","updated_at":"2016-05-05T16:58:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37901ca700d50bda818fbf0e4880b3a74c09eaa9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209/commits","review_comments_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209/comments","review_comment_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls/comments{/number}","comments_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/209/comments","statuses_url":"https://api.github.com/repos/curationexperts/heliotrope/statuses/4a77fa8cb0dfda07e8821a71536642d259272fd2","head":{"label":"curationexperts:section_edit_persist_monograph_187","ref":"section_edit_persist_monograph_187","sha":"4a77fa8cb0dfda07e8821a71536642d259272fd2","user":{"login":"curationexperts","id":2090253,"avatar_url":"https://avatars.githubusercontent.com/u/2090253?v=3","gravatar_id":"","url":"https://api.github.com/users/curationexperts","html_url":"https://github.com/curationexperts","followers_url":"https://api.github.com/users/curationexperts/followers","following_url":"https://api.github.com/users/curationexperts/following{/other_user}","gists_url":"https://api.github.com/users/curationexperts/gists{/gist_id}","starred_url":"https://api.github.com/users/curationexperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curationexperts/subscriptions","organizations_url":"https://api.github.com/users/curationexperts/orgs","repos_url":"https://api.github.com/users/curationexperts/repos","events_url":"https://api.github.com/users/curationexperts/events{/privacy}","received_events_url":"https://api.github.com/users/curationexperts/received_events","type":"Organization","site_admin":false},"repo":{"id":52619982,"name":"heliotrope","full_name":"curationexperts/heliotrope","owner":{"login":"curationexperts","id":2090253,"avatar_url":"https://avatars.githubusercontent.com/u/2090253?v=3","gravatar_id":"","url":"https://api.github.com/users/curationexperts","html_url":"https://github.com/curationexperts","followers_url":"https://api.github.com/users/curationexperts/followers","following_url":"https://api.github.com/users/curationexperts/following{/other_user}","gists_url":"https://api.github.com/users/curationexperts/gists{/gist_id}","starred_url":"https://api.github.com/users/curationexperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curationexperts/subscriptions","organizations_url":"https://api.github.com/users/curationexperts/orgs","repos_url":"https://api.github.com/users/curationexperts/repos","events_url":"https://api.github.com/users/curationexperts/events{/privacy}","received_events_url":"https://api.github.com/users/curationexperts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/curationexperts/heliotrope","description":"Hydra-based digital publisher platform","fork":false,"url":"https://api.github.com/repos/curationexperts/heliotrope","forks_url":"https://api.github.com/repos/curationexperts/heliotrope/forks","keys_url":"https://api.github.com/repos/curationexperts/heliotrope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curationexperts/heliotrope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curationexperts/heliotrope/teams","hooks_url":"https://api.github.com/repos/curationexperts/heliotrope/hooks","issue_events_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/events{/number}","events_url":"https://api.github.com/repos/curationexperts/heliotrope/events","assignees_url":"https://api.github.com/repos/curationexperts/heliotrope/assignees{/user}","branches_url":"https://api.github.com/repos/curationexperts/heliotrope/branches{/branch}","tags_url":"https://api.github.com/repos/curationexperts/heliotrope/tags","blobs_url":"https://api.github.com/repos/curationexperts/heliotrope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curationexperts/heliotrope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curationexperts/heliotrope/git/refs{/sha}","trees_url":"https://api.github.com/repos/curationexperts/heliotrope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curationexperts/heliotrope/statuses/{sha}","languages_url":"https://api.github.com/repos/curationexperts/heliotrope/languages","stargazers_url":"https://api.github.com/repos/curationexperts/heliotrope/stargazers","contributors_url":"https://api.github.com/repos/curationexperts/heliotrope/contributors","subscribers_url":"https://api.github.com/repos/curationexperts/heliotrope/subscribers","subscription_url":"https://api.github.com/repos/curationexperts/heliotrope/subscription","commits_url":"https://api.github.com/repos/curationexperts/heliotrope/commits{/sha}","git_commits_url":"https://api.github.com/repos/curationexperts/heliotrope/git/commits{/sha}","comments_url":"https://api.github.com/repos/curationexperts/heliotrope/comments{/number}","issue_comment_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/comments{/number}","contents_url":"https://api.github.com/repos/curationexperts/heliotrope/contents/{+path}","compare_url":"https://api.github.com/repos/curationexperts/heliotrope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curationexperts/heliotrope/merges","archive_url":"https://api.github.com/repos/curationexperts/heliotrope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curationexperts/heliotrope/downloads","issues_url":"https://api.github.com/repos/curationexperts/heliotrope/issues{/number}","pulls_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls{/number}","milestones_url":"https://api.github.com/repos/curationexperts/heliotrope/milestones{/number}","notifications_url":"https://api.github.com/repos/curationexperts/heliotrope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curationexperts/heliotrope/labels{/name}","releases_url":"https://api.github.com/repos/curationexperts/heliotrope/releases{/id}","deployments_url":"https://api.github.com/repos/curationexperts/heliotrope/deployments","created_at":"2016-02-26T17:10:56Z","updated_at":"2016-03-25T16:00:46Z","pushed_at":"2016-05-05T16:40:54Z","git_url":"git://github.com/curationexperts/heliotrope.git","ssh_url":"git@github.com:curationexperts/heliotrope.git","clone_url":"https://github.com/curationexperts/heliotrope.git","svn_url":"https://github.com/curationexperts/heliotrope","homepage":null,"size":279,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":73,"forks":1,"open_issues":73,"watchers":3,"default_branch":"master"}},"base":{"label":"curationexperts:master","ref":"master","sha":"ee171399c5fae53e4d4d681e256fb0f01aba840b","user":{"login":"curationexperts","id":2090253,"avatar_url":"https://avatars.githubusercontent.com/u/2090253?v=3","gravatar_id":"","url":"https://api.github.com/users/curationexperts","html_url":"https://github.com/curationexperts","followers_url":"https://api.github.com/users/curationexperts/followers","following_url":"https://api.github.com/users/curationexperts/following{/other_user}","gists_url":"https://api.github.com/users/curationexperts/gists{/gist_id}","starred_url":"https://api.github.com/users/curationexperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curationexperts/subscriptions","organizations_url":"https://api.github.com/users/curationexperts/orgs","repos_url":"https://api.github.com/users/curationexperts/repos","events_url":"https://api.github.com/users/curationexperts/events{/privacy}","received_events_url":"https://api.github.com/users/curationexperts/received_events","type":"Organization","site_admin":false},"repo":{"id":52619982,"name":"heliotrope","full_name":"curationexperts/heliotrope","owner":{"login":"curationexperts","id":2090253,"avatar_url":"https://avatars.githubusercontent.com/u/2090253?v=3","gravatar_id":"","url":"https://api.github.com/users/curationexperts","html_url":"https://github.com/curationexperts","followers_url":"https://api.github.com/users/curationexperts/followers","following_url":"https://api.github.com/users/curationexperts/following{/other_user}","gists_url":"https://api.github.com/users/curationexperts/gists{/gist_id}","starred_url":"https://api.github.com/users/curationexperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curationexperts/subscriptions","organizations_url":"https://api.github.com/users/curationexperts/orgs","repos_url":"https://api.github.com/users/curationexperts/repos","events_url":"https://api.github.com/users/curationexperts/events{/privacy}","received_events_url":"https://api.github.com/users/curationexperts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/curationexperts/heliotrope","description":"Hydra-based digital publisher platform","fork":false,"url":"https://api.github.com/repos/curationexperts/heliotrope","forks_url":"https://api.github.com/repos/curationexperts/heliotrope/forks","keys_url":"https://api.github.com/repos/curationexperts/heliotrope/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curationexperts/heliotrope/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curationexperts/heliotrope/teams","hooks_url":"https://api.github.com/repos/curationexperts/heliotrope/hooks","issue_events_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/events{/number}","events_url":"https://api.github.com/repos/curationexperts/heliotrope/events","assignees_url":"https://api.github.com/repos/curationexperts/heliotrope/assignees{/user}","branches_url":"https://api.github.com/repos/curationexperts/heliotrope/branches{/branch}","tags_url":"https://api.github.com/repos/curationexperts/heliotrope/tags","blobs_url":"https://api.github.com/repos/curationexperts/heliotrope/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curationexperts/heliotrope/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curationexperts/heliotrope/git/refs{/sha}","trees_url":"https://api.github.com/repos/curationexperts/heliotrope/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curationexperts/heliotrope/statuses/{sha}","languages_url":"https://api.github.com/repos/curationexperts/heliotrope/languages","stargazers_url":"https://api.github.com/repos/curationexperts/heliotrope/stargazers","contributors_url":"https://api.github.com/repos/curationexperts/heliotrope/contributors","subscribers_url":"https://api.github.com/repos/curationexperts/heliotrope/subscribers","subscription_url":"https://api.github.com/repos/curationexperts/heliotrope/subscription","commits_url":"https://api.github.com/repos/curationexperts/heliotrope/commits{/sha}","git_commits_url":"https://api.github.com/repos/curationexperts/heliotrope/git/commits{/sha}","comments_url":"https://api.github.com/repos/curationexperts/heliotrope/comments{/number}","issue_comment_url":"https://api.github.com/repos/curationexperts/heliotrope/issues/comments{/number}","contents_url":"https://api.github.com/repos/curationexperts/heliotrope/contents/{+path}","compare_url":"https://api.github.com/repos/curationexperts/heliotrope/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curationexperts/heliotrope/merges","archive_url":"https://api.github.com/repos/curationexperts/heliotrope/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curationexperts/heliotrope/downloads","issues_url":"https://api.github.com/repos/curationexperts/heliotrope/issues{/number}","pulls_url":"https://api.github.com/repos/curationexperts/heliotrope/pulls{/number}","milestones_url":"https://api.github.com/repos/curationexperts/heliotrope/milestones{/number}","notifications_url":"https://api.github.com/repos/curationexperts/heliotrope/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curationexperts/heliotrope/labels{/name}","releases_url":"https://api.github.com/repos/curationexperts/heliotrope/releases{/id}","deployments_url":"https://api.github.com/repos/curationexperts/heliotrope/deployments","created_at":"2016-02-26T17:10:56Z","updated_at":"2016-03-25T16:00:46Z","pushed_at":"2016-05-05T16:40:54Z","git_url":"git://github.com/curationexperts/heliotrope.git","ssh_url":"git@github.com:curationexperts/heliotrope.git","clone_url":"https://github.com/curationexperts/heliotrope.git","svn_url":"https://github.com/curationexperts/heliotrope","homepage":null,"size":279,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":73,"forks":1,"open_issues":73,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209"},"html":{"href":"https://github.com/curationexperts/heliotrope/pull/209"},"issue":{"href":"https://api.github.com/repos/curationexperts/heliotrope/issues/209"},"comments":{"href":"https://api.github.com/repos/curationexperts/heliotrope/issues/209/comments"},"review_comments":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209/comments"},"review_comment":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/curationexperts/heliotrope/pulls/209/commits"},"statuses":{"href":"https://api.github.com/repos/curationexperts/heliotrope/statuses/4a77fa8cb0dfda07e8821a71536642d259272fd2"}}}}