{"action":"created","comment":{"url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/comments/50354728","id":50354728,"diff_hunk":"@@ -1,79 +1,81 @@\n require \"rails_helper\"\n \n-describe ParticipantBehaviorController, type: :controller do\n-  let(:participant) do\n-    instance_double(\n-      Participant,\n-      id: 123_45,\n-      unnotified_and_complete_behaviors: nil,\n-      unnotified_and_complete_incentives: nil)\n-  end\n-  let(:participant_behavior) { double(\"participant_behavior\") }\n-\n-  before do\n-    sign_in_participant participant\n-    expect(participant).to receive(:navigation_status)\n-  end\n+module Marigold","path":"spec/controllers/participant_behavior_controller_spec.rb","position":17,"original_position":17,"commit_id":"7119d23e2af26d7387f5359209eb9446f2bcae90","original_commit_id":"7119d23e2af26d7387f5359209eb9446f2bcae90","user":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"body":"Should there be a spec for each action that tests whether unauthenticated requests get a 401?","created_at":"2016-01-21T02:53:00Z","updated_at":"2016-01-21T02:53:00Z","html_url":"https://github.com/NU-CBITS/marigold/pull/45#discussion_r50354728","pull_request_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/comments/50354728"},"html":{"href":"https://github.com/NU-CBITS/marigold/pull/45#discussion_r50354728"},"pull_request":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45","id":56541293,"html_url":"https://github.com/NU-CBITS/marigold/pull/45","diff_url":"https://github.com/NU-CBITS/marigold/pull/45.diff","patch_url":"https://github.com/NU-CBITS/marigold/pull/45.patch","issue_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/45","number":45,"state":"open","locked":false,"title":"Update Raven Context","user":{"login":"michaelwehrley","id":526136,"avatar_url":"https://avatars.githubusercontent.com/u/526136?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwehrley","html_url":"https://github.com/michaelwehrley","followers_url":"https://api.github.com/users/michaelwehrley/followers","following_url":"https://api.github.com/users/michaelwehrley/following{/other_user}","gists_url":"https://api.github.com/users/michaelwehrley/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwehrley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwehrley/subscriptions","organizations_url":"https://api.github.com/users/michaelwehrley/orgs","repos_url":"https://api.github.com/users/michaelwehrley/repos","events_url":"https://api.github.com/users/michaelwehrley/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwehrley/received_events","type":"User","site_admin":false},"body":"* Add raven context in application controller to give us user/participant information\r\n\r\n[#110176306]","created_at":"2016-01-19T23:17:29Z","updated_at":"2016-01-21T02:53:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eeae9bc6ce934cfa3f8ceae59ac45cb5c3713bc3","assignee":{"login":"ericcf","id":58693,"avatar_url":"https://avatars.githubusercontent.com/u/58693?v=3","gravatar_id":"","url":"https://api.github.com/users/ericcf","html_url":"https://github.com/ericcf","followers_url":"https://api.github.com/users/ericcf/followers","following_url":"https://api.github.com/users/ericcf/following{/other_user}","gists_url":"https://api.github.com/users/ericcf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericcf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericcf/subscriptions","organizations_url":"https://api.github.com/users/ericcf/orgs","repos_url":"https://api.github.com/users/ericcf/repos","events_url":"https://api.github.com/users/ericcf/events{/privacy}","received_events_url":"https://api.github.com/users/ericcf/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45/commits","review_comments_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45/comments","review_comment_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/45/comments","statuses_url":"https://api.github.com/repos/NU-CBITS/marigold/statuses/7119d23e2af26d7387f5359209eb9446f2bcae90","head":{"label":"NU-CBITS:msw_110176306_raven_context","ref":"msw_110176306_raven_context","sha":"7119d23e2af26d7387f5359209eb9446f2bcae90","user":{"login":"NU-CBITS","id":3345230,"avatar_url":"https://avatars.githubusercontent.com/u/3345230?v=3","gravatar_id":"","url":"https://api.github.com/users/NU-CBITS","html_url":"https://github.com/NU-CBITS","followers_url":"https://api.github.com/users/NU-CBITS/followers","following_url":"https://api.github.com/users/NU-CBITS/following{/other_user}","gists_url":"https://api.github.com/users/NU-CBITS/gists{/gist_id}","starred_url":"https://api.github.com/users/NU-CBITS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NU-CBITS/subscriptions","organizations_url":"https://api.github.com/users/NU-CBITS/orgs","repos_url":"https://api.github.com/users/NU-CBITS/repos","events_url":"https://api.github.com/users/NU-CBITS/events{/privacy}","received_events_url":"https://api.github.com/users/NU-CBITS/received_events","type":"Organization","site_admin":false},"repo":{"id":44270592,"name":"marigold","full_name":"NU-CBITS/marigold","owner":{"login":"NU-CBITS","id":3345230,"avatar_url":"https://avatars.githubusercontent.com/u/3345230?v=3","gravatar_id":"","url":"https://api.github.com/users/NU-CBITS","html_url":"https://github.com/NU-CBITS","followers_url":"https://api.github.com/users/NU-CBITS/followers","following_url":"https://api.github.com/users/NU-CBITS/following{/other_user}","gists_url":"https://api.github.com/users/NU-CBITS/gists{/gist_id}","starred_url":"https://api.github.com/users/NU-CBITS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NU-CBITS/subscriptions","organizations_url":"https://api.github.com/users/NU-CBITS/orgs","repos_url":"https://api.github.com/users/NU-CBITS/repos","events_url":"https://api.github.com/users/NU-CBITS/events{/privacy}","received_events_url":"https://api.github.com/users/NU-CBITS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NU-CBITS/marigold","description":"","fork":false,"url":"https://api.github.com/repos/NU-CBITS/marigold","forks_url":"https://api.github.com/repos/NU-CBITS/marigold/forks","keys_url":"https://api.github.com/repos/NU-CBITS/marigold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NU-CBITS/marigold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NU-CBITS/marigold/teams","hooks_url":"https://api.github.com/repos/NU-CBITS/marigold/hooks","issue_events_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/events{/number}","events_url":"https://api.github.com/repos/NU-CBITS/marigold/events","assignees_url":"https://api.github.com/repos/NU-CBITS/marigold/assignees{/user}","branches_url":"https://api.github.com/repos/NU-CBITS/marigold/branches{/branch}","tags_url":"https://api.github.com/repos/NU-CBITS/marigold/tags","blobs_url":"https://api.github.com/repos/NU-CBITS/marigold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NU-CBITS/marigold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NU-CBITS/marigold/git/refs{/sha}","trees_url":"https://api.github.com/repos/NU-CBITS/marigold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NU-CBITS/marigold/statuses/{sha}","languages_url":"https://api.github.com/repos/NU-CBITS/marigold/languages","stargazers_url":"https://api.github.com/repos/NU-CBITS/marigold/stargazers","contributors_url":"https://api.github.com/repos/NU-CBITS/marigold/contributors","subscribers_url":"https://api.github.com/repos/NU-CBITS/marigold/subscribers","subscription_url":"https://api.github.com/repos/NU-CBITS/marigold/subscription","commits_url":"https://api.github.com/repos/NU-CBITS/marigold/commits{/sha}","git_commits_url":"https://api.github.com/repos/NU-CBITS/marigold/git/commits{/sha}","comments_url":"https://api.github.com/repos/NU-CBITS/marigold/comments{/number}","issue_comment_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/comments{/number}","contents_url":"https://api.github.com/repos/NU-CBITS/marigold/contents/{+path}","compare_url":"https://api.github.com/repos/NU-CBITS/marigold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NU-CBITS/marigold/merges","archive_url":"https://api.github.com/repos/NU-CBITS/marigold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NU-CBITS/marigold/downloads","issues_url":"https://api.github.com/repos/NU-CBITS/marigold/issues{/number}","pulls_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls{/number}","milestones_url":"https://api.github.com/repos/NU-CBITS/marigold/milestones{/number}","notifications_url":"https://api.github.com/repos/NU-CBITS/marigold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NU-CBITS/marigold/labels{/name}","releases_url":"https://api.github.com/repos/NU-CBITS/marigold/releases{/id}","created_at":"2015-10-14T19:16:12Z","updated_at":"2016-01-14T18:10:26Z","pushed_at":"2016-01-20T22:42:27Z","git_url":"git://github.com/NU-CBITS/marigold.git","ssh_url":"git@github.com:NU-CBITS/marigold.git","clone_url":"https://github.com/NU-CBITS/marigold.git","svn_url":"https://github.com/NU-CBITS/marigold","homepage":null,"size":5516,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"NU-CBITS:master","ref":"master","sha":"a4758aa018c1479fba2299d1b77f6efa500651a3","user":{"login":"NU-CBITS","id":3345230,"avatar_url":"https://avatars.githubusercontent.com/u/3345230?v=3","gravatar_id":"","url":"https://api.github.com/users/NU-CBITS","html_url":"https://github.com/NU-CBITS","followers_url":"https://api.github.com/users/NU-CBITS/followers","following_url":"https://api.github.com/users/NU-CBITS/following{/other_user}","gists_url":"https://api.github.com/users/NU-CBITS/gists{/gist_id}","starred_url":"https://api.github.com/users/NU-CBITS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NU-CBITS/subscriptions","organizations_url":"https://api.github.com/users/NU-CBITS/orgs","repos_url":"https://api.github.com/users/NU-CBITS/repos","events_url":"https://api.github.com/users/NU-CBITS/events{/privacy}","received_events_url":"https://api.github.com/users/NU-CBITS/received_events","type":"Organization","site_admin":false},"repo":{"id":44270592,"name":"marigold","full_name":"NU-CBITS/marigold","owner":{"login":"NU-CBITS","id":3345230,"avatar_url":"https://avatars.githubusercontent.com/u/3345230?v=3","gravatar_id":"","url":"https://api.github.com/users/NU-CBITS","html_url":"https://github.com/NU-CBITS","followers_url":"https://api.github.com/users/NU-CBITS/followers","following_url":"https://api.github.com/users/NU-CBITS/following{/other_user}","gists_url":"https://api.github.com/users/NU-CBITS/gists{/gist_id}","starred_url":"https://api.github.com/users/NU-CBITS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NU-CBITS/subscriptions","organizations_url":"https://api.github.com/users/NU-CBITS/orgs","repos_url":"https://api.github.com/users/NU-CBITS/repos","events_url":"https://api.github.com/users/NU-CBITS/events{/privacy}","received_events_url":"https://api.github.com/users/NU-CBITS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NU-CBITS/marigold","description":"","fork":false,"url":"https://api.github.com/repos/NU-CBITS/marigold","forks_url":"https://api.github.com/repos/NU-CBITS/marigold/forks","keys_url":"https://api.github.com/repos/NU-CBITS/marigold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NU-CBITS/marigold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NU-CBITS/marigold/teams","hooks_url":"https://api.github.com/repos/NU-CBITS/marigold/hooks","issue_events_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/events{/number}","events_url":"https://api.github.com/repos/NU-CBITS/marigold/events","assignees_url":"https://api.github.com/repos/NU-CBITS/marigold/assignees{/user}","branches_url":"https://api.github.com/repos/NU-CBITS/marigold/branches{/branch}","tags_url":"https://api.github.com/repos/NU-CBITS/marigold/tags","blobs_url":"https://api.github.com/repos/NU-CBITS/marigold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NU-CBITS/marigold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NU-CBITS/marigold/git/refs{/sha}","trees_url":"https://api.github.com/repos/NU-CBITS/marigold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NU-CBITS/marigold/statuses/{sha}","languages_url":"https://api.github.com/repos/NU-CBITS/marigold/languages","stargazers_url":"https://api.github.com/repos/NU-CBITS/marigold/stargazers","contributors_url":"https://api.github.com/repos/NU-CBITS/marigold/contributors","subscribers_url":"https://api.github.com/repos/NU-CBITS/marigold/subscribers","subscription_url":"https://api.github.com/repos/NU-CBITS/marigold/subscription","commits_url":"https://api.github.com/repos/NU-CBITS/marigold/commits{/sha}","git_commits_url":"https://api.github.com/repos/NU-CBITS/marigold/git/commits{/sha}","comments_url":"https://api.github.com/repos/NU-CBITS/marigold/comments{/number}","issue_comment_url":"https://api.github.com/repos/NU-CBITS/marigold/issues/comments{/number}","contents_url":"https://api.github.com/repos/NU-CBITS/marigold/contents/{+path}","compare_url":"https://api.github.com/repos/NU-CBITS/marigold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NU-CBITS/marigold/merges","archive_url":"https://api.github.com/repos/NU-CBITS/marigold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NU-CBITS/marigold/downloads","issues_url":"https://api.github.com/repos/NU-CBITS/marigold/issues{/number}","pulls_url":"https://api.github.com/repos/NU-CBITS/marigold/pulls{/number}","milestones_url":"https://api.github.com/repos/NU-CBITS/marigold/milestones{/number}","notifications_url":"https://api.github.com/repos/NU-CBITS/marigold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NU-CBITS/marigold/labels{/name}","releases_url":"https://api.github.com/repos/NU-CBITS/marigold/releases{/id}","created_at":"2015-10-14T19:16:12Z","updated_at":"2016-01-14T18:10:26Z","pushed_at":"2016-01-20T22:42:27Z","git_url":"git://github.com/NU-CBITS/marigold.git","ssh_url":"git@github.com:NU-CBITS/marigold.git","clone_url":"https://github.com/NU-CBITS/marigold.git","svn_url":"https://github.com/NU-CBITS/marigold","homepage":null,"size":5516,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45"},"html":{"href":"https://github.com/NU-CBITS/marigold/pull/45"},"issue":{"href":"https://api.github.com/repos/NU-CBITS/marigold/issues/45"},"comments":{"href":"https://api.github.com/repos/NU-CBITS/marigold/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NU-CBITS/marigold/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/NU-CBITS/marigold/statuses/7119d23e2af26d7387f5359209eb9446f2bcae90"}}}}