{"action":"created","comment":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/38015429","id":38015429,"diff_hunk":"@@ -268,11 +269,38 @@\n     let(:date) { '10/11/2015 12:00' }\n     let!(:issue) { create(:issue_stat, board: board, number: 1, due_date_at: nil) }\n     before do\n-      post :due_date, board_github_full_name: board.github_full_name, number: 1, due_date: date\n+      post :due_date, board_github_full_name: board.github_full_name,\n+        number: 1, due_date: date\n     end\n \n     it { expect(response).to have_http_status(:success) }\n     it { expect(response.body).to eq 'Nov 10 12:00' }\n     it { expect(issue.reload.due_date_at).to eq date }\n   end\n+\n+  describe '#ready' do\n+    context 'true' do\n+      let!(:issue_stat) { create :issue_stat, board: board, number: 1 }\n+\n+      before do\n+        patch :ready, board_github_full_name: board.github_full_name,\n+          number: 1, issue_stat: { is_ready: 'true' }","path":"spec/controllers/issues_controller_spec.rb","position":30,"original_position":30,"commit_id":"ade45d2ee9bc6949557ea3cffa5a7fc426d2327a","original_commit_id":"ade45d2ee9bc6949557ea3cffa5a7fc426d2327a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Align the elements of a hash literal if they span more than one line.","created_at":"2015-08-26T18:14:54Z","updated_at":"2015-08-26T18:14:54Z","html_url":"https://github.com/agileseason/agileseason/pull/628#discussion_r38015429","pull_request_url":"https://api.github.com/repos/agileseason/agileseason/pulls/628","_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments/38015429"},"html":{"href":"https://github.com/agileseason/agileseason/pull/628#discussion_r38015429"},"pull_request":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/628"}}},"pull_request":{"url":"https://api.github.com/repos/agileseason/agileseason/pulls/628","id":43431691,"html_url":"https://github.com/agileseason/agileseason/pull/628","diff_url":"https://github.com/agileseason/agileseason/pull/628.diff","patch_url":"https://github.com/agileseason/agileseason/pull/628.patch","issue_url":"https://api.github.com/repos/agileseason/agileseason/issues/628","number":628,"state":"open","locked":false,"title":"Feature/ready button","user":{"login":"Sfolt","id":6046764,"avatar_url":"https://avatars.githubusercontent.com/u/6046764?v=3","gravatar_id":"","url":"https://api.github.com/users/Sfolt","html_url":"https://github.com/Sfolt","followers_url":"https://api.github.com/users/Sfolt/followers","following_url":"https://api.github.com/users/Sfolt/following{/other_user}","gists_url":"https://api.github.com/users/Sfolt/gists{/gist_id}","starred_url":"https://api.github.com/users/Sfolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sfolt/subscriptions","organizations_url":"https://api.github.com/users/Sfolt/orgs","repos_url":"https://api.github.com/users/Sfolt/repos","events_url":"https://api.github.com/users/Sfolt/events{/privacy}","received_events_url":"https://api.github.com/users/Sfolt/received_events","type":"User","site_admin":false},"body":"#596","created_at":"2015-08-26T17:55:18Z","updated_at":"2015-08-26T18:14:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23822fc4a23b852fbe1c17550d20c77f13e0fc22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/agileseason/agileseason/pulls/628/commits","review_comments_url":"https://api.github.com/repos/agileseason/agileseason/pulls/628/comments","review_comment_url":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agileseason/agileseason/issues/628/comments","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/ade45d2ee9bc6949557ea3cffa5a7fc426d2327a","head":{"label":"agileseason:feature/ready-button","ref":"feature/ready-button","sha":"ade45d2ee9bc6949557ea3cffa5a7fc426d2327a","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-08-26T18:14:50Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":8764,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":5,"default_branch":"master"}},"base":{"label":"agileseason:master","ref":"master","sha":"bfae4e6b9d08e13d8454764190bbcbb195fe031a","user":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"repo":{"id":26205980,"name":"agileseason","full_name":"agileseason/agileseason","owner":{"login":"agileseason","id":9547438,"avatar_url":"https://avatars.githubusercontent.com/u/9547438?v=3","gravatar_id":"","url":"https://api.github.com/users/agileseason","html_url":"https://github.com/agileseason","followers_url":"https://api.github.com/users/agileseason/followers","following_url":"https://api.github.com/users/agileseason/following{/other_user}","gists_url":"https://api.github.com/users/agileseason/gists{/gist_id}","starred_url":"https://api.github.com/users/agileseason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agileseason/subscriptions","organizations_url":"https://api.github.com/users/agileseason/orgs","repos_url":"https://api.github.com/users/agileseason/repos","events_url":"https://api.github.com/users/agileseason/events{/privacy}","received_events_url":"https://api.github.com/users/agileseason/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/agileseason/agileseason","description":"Agile board for github issues with metrics","fork":false,"url":"https://api.github.com/repos/agileseason/agileseason","forks_url":"https://api.github.com/repos/agileseason/agileseason/forks","keys_url":"https://api.github.com/repos/agileseason/agileseason/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agileseason/agileseason/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agileseason/agileseason/teams","hooks_url":"https://api.github.com/repos/agileseason/agileseason/hooks","issue_events_url":"https://api.github.com/repos/agileseason/agileseason/issues/events{/number}","events_url":"https://api.github.com/repos/agileseason/agileseason/events","assignees_url":"https://api.github.com/repos/agileseason/agileseason/assignees{/user}","branches_url":"https://api.github.com/repos/agileseason/agileseason/branches{/branch}","tags_url":"https://api.github.com/repos/agileseason/agileseason/tags","blobs_url":"https://api.github.com/repos/agileseason/agileseason/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agileseason/agileseason/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agileseason/agileseason/git/refs{/sha}","trees_url":"https://api.github.com/repos/agileseason/agileseason/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agileseason/agileseason/statuses/{sha}","languages_url":"https://api.github.com/repos/agileseason/agileseason/languages","stargazers_url":"https://api.github.com/repos/agileseason/agileseason/stargazers","contributors_url":"https://api.github.com/repos/agileseason/agileseason/contributors","subscribers_url":"https://api.github.com/repos/agileseason/agileseason/subscribers","subscription_url":"https://api.github.com/repos/agileseason/agileseason/subscription","commits_url":"https://api.github.com/repos/agileseason/agileseason/commits{/sha}","git_commits_url":"https://api.github.com/repos/agileseason/agileseason/git/commits{/sha}","comments_url":"https://api.github.com/repos/agileseason/agileseason/comments{/number}","issue_comment_url":"https://api.github.com/repos/agileseason/agileseason/issues/comments{/number}","contents_url":"https://api.github.com/repos/agileseason/agileseason/contents/{+path}","compare_url":"https://api.github.com/repos/agileseason/agileseason/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agileseason/agileseason/merges","archive_url":"https://api.github.com/repos/agileseason/agileseason/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agileseason/agileseason/downloads","issues_url":"https://api.github.com/repos/agileseason/agileseason/issues{/number}","pulls_url":"https://api.github.com/repos/agileseason/agileseason/pulls{/number}","milestones_url":"https://api.github.com/repos/agileseason/agileseason/milestones{/number}","notifications_url":"https://api.github.com/repos/agileseason/agileseason/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agileseason/agileseason/labels{/name}","releases_url":"https://api.github.com/repos/agileseason/agileseason/releases{/id}","created_at":"2014-11-05T06:11:09Z","updated_at":"2015-08-16T14:59:12Z","pushed_at":"2015-08-26T18:14:50Z","git_url":"git://github.com/agileseason/agileseason.git","ssh_url":"git@github.com:agileseason/agileseason.git","clone_url":"https://github.com/agileseason/agileseason.git","svn_url":"https://github.com/agileseason/agileseason","homepage":"https://agileseason.com","size":8764,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/628"},"html":{"href":"https://github.com/agileseason/agileseason/pull/628"},"issue":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/628"},"comments":{"href":"https://api.github.com/repos/agileseason/agileseason/issues/628/comments"},"review_comments":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/628/comments"},"review_comment":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agileseason/agileseason/pulls/628/commits"},"statuses":{"href":"https://api.github.com/repos/agileseason/agileseason/statuses/ade45d2ee9bc6949557ea3cffa5a7fc426d2327a"}}}}