{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/32257200","id":32257200,"diff_hunk":"@@ -0,0 +1,26 @@\n+require 'spec_helper'\n+\n+RSpec.describe \"featuring items\" do\n+  context \"when viewing a featured item\" do\n+    let(:user) do\n+      u = FactoryGirl.build(:user)\n+      u.group_list = \"admin\"\n+      u.save\n+      u\n+    end\n+    it \"should have a working unfeature link\", :js => true do","path":"spec/features/featured_item_spec.rb","position":11,"original_position":11,"commit_id":"7f2dbbede3ca40f4dccccc415a48f922285c967f","original_commit_id":"7f2dbbede3ca40f4dccccc415a48f922285c967f","user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"I don't think that's true: \r\nhttps://github.com/projecthydra/sufia/blob/master/spec/spec_helper.rb#L31-L32\r\n","created_at":"2015-06-11T19:16:05Z","updated_at":"2015-06-11T19:16:05Z","html_url":"https://github.com/projecthydra/sufia/pull/1203#discussion_r32257200","pull_request_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1203","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/32257200"},"html":{"href":"https://github.com/projecthydra/sufia/pull/1203#discussion_r32257200"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1203"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/1203","id":37491001,"html_url":"https://github.com/projecthydra/sufia/pull/1203","diff_url":"https://github.com/projecthydra/sufia/pull/1203.diff","patch_url":"https://github.com/projecthydra/sufia/pull/1203.patch","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/1203","number":1203,"state":"open","locked":false,"title":"Feature/unfeature from item page","user":{"login":"luisgreg99","id":3486120,"avatar_url":"https://avatars.githubusercontent.com/u/3486120?v=3","gravatar_id":"","url":"https://api.github.com/users/luisgreg99","html_url":"https://github.com/luisgreg99","followers_url":"https://api.github.com/users/luisgreg99/followers","following_url":"https://api.github.com/users/luisgreg99/following{/other_user}","gists_url":"https://api.github.com/users/luisgreg99/gists{/gist_id}","starred_url":"https://api.github.com/users/luisgreg99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisgreg99/subscriptions","organizations_url":"https://api.github.com/users/luisgreg99/orgs","repos_url":"https://api.github.com/users/luisgreg99/repos","events_url":"https://api.github.com/users/luisgreg99/events{/privacy}","received_events_url":"https://api.github.com/users/luisgreg99/received_events","type":"User","site_admin":false},"body":"We added the ability to un-feature an item from the item page. We chose to add the link to improve the workflow to feature and un-feature an item. Fixes #1202 ","created_at":"2015-06-11T17:59:36Z","updated_at":"2015-06-11T19:16:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6091eb3ac3fa25d048b2e3d037085ea4a055aec2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1203/commits","review_comments_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1203/comments","review_comment_url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/1203/comments","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/7f2dbbede3ca40f4dccccc415a48f922285c967f","head":{"label":"osulp:feature/UnfeatureFromItemPage","ref":"feature/UnfeatureFromItemPage","sha":"7f2dbbede3ca40f4dccccc415a48f922285c967f","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":37272719,"name":"sufia","full_name":"osulp/sufia","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/sufia","description":"Sufia is a Rails engine for creating a self-deposit institutional repository. A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":true,"url":"https://api.github.com/repos/osulp/sufia","forks_url":"https://api.github.com/repos/osulp/sufia/forks","keys_url":"https://api.github.com/repos/osulp/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/sufia/teams","hooks_url":"https://api.github.com/repos/osulp/sufia/hooks","issue_events_url":"https://api.github.com/repos/osulp/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/sufia/events","assignees_url":"https://api.github.com/repos/osulp/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/sufia/tags","blobs_url":"https://api.github.com/repos/osulp/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/sufia/languages","stargazers_url":"https://api.github.com/repos/osulp/sufia/stargazers","contributors_url":"https://api.github.com/repos/osulp/sufia/contributors","subscribers_url":"https://api.github.com/repos/osulp/sufia/subscribers","subscription_url":"https://api.github.com/repos/osulp/sufia/subscription","commits_url":"https://api.github.com/repos/osulp/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/osulp/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/sufia/merges","archive_url":"https://api.github.com/repos/osulp/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/sufia/downloads","issues_url":"https://api.github.com/repos/osulp/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/sufia/labels{/name}","releases_url":"https://api.github.com/repos/osulp/sufia/releases{/id}","created_at":"2015-06-11T16:29:11Z","updated_at":"2015-06-11T16:29:14Z","pushed_at":"2015-06-11T17:52:44Z","git_url":"git://github.com/osulp/sufia.git","ssh_url":"git@github.com:osulp/sufia.git","clone_url":"https://github.com/osulp/sufia.git","svn_url":"https://github.com/osulp/sufia","homepage":"","size":59450,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projecthydra:master","ref":"master","sha":"109b7a716b7b7284cbc444a461c95b1c2c097066","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":7653178,"name":"sufia","full_name":"projecthydra/sufia","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/sufia","description":"Sufia is a Rails engine for creating a self-deposit institutional repository. A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":false,"url":"https://api.github.com/repos/projecthydra/sufia","forks_url":"https://api.github.com/repos/projecthydra/sufia/forks","keys_url":"https://api.github.com/repos/projecthydra/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/sufia/teams","hooks_url":"https://api.github.com/repos/projecthydra/sufia/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/sufia/events","assignees_url":"https://api.github.com/repos/projecthydra/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/sufia/tags","blobs_url":"https://api.github.com/repos/projecthydra/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/sufia/languages","stargazers_url":"https://api.github.com/repos/projecthydra/sufia/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/sufia/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/sufia/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/sufia/subscription","commits_url":"https://api.github.com/repos/projecthydra/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/sufia/merges","archive_url":"https://api.github.com/repos/projecthydra/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/sufia/downloads","issues_url":"https://api.github.com/repos/projecthydra/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/sufia/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/sufia/releases{/id}","created_at":"2013-01-16T20:23:18Z","updated_at":"2015-05-29T13:57:54Z","pushed_at":"2015-06-11T18:25:46Z","git_url":"git://github.com/projecthydra/sufia.git","ssh_url":"git@github.com:projecthydra/sufia.git","clone_url":"https://github.com/projecthydra/sufia.git","svn_url":"https://github.com/projecthydra/sufia","homepage":"","size":59450,"stargazers_count":62,"watchers_count":62,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"open_issues_count":93,"forks":55,"open_issues":93,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1203"},"html":{"href":"https://github.com/projecthydra/sufia/pull/1203"},"issue":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/1203"},"comments":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/1203/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1203/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1203/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/sufia/statuses/7f2dbbede3ca40f4dccccc415a48f922285c967f"}}}}