{"action":"created","comment":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/28920083","id":28920083,"diff_hunk":"@@ -18,6 +18,22 @@\n     it { should belong_to(:user) }\n   end\n \n+  describe '#can_graduate?' do\n+    it 'returns true when graduation date has passed' do\n+      ac = create(:associate_consultant, :has_reached_graduation_date)\n+      ac.can_graduate?.should == true\n+    end\n+\n+    it 'returns false when graduation date has not passed' do\n+      ac = create(:associate_consultant)\n+      ac.can_graduate?.should == false\n+    end\n+\n+    it 'returns false when an AC has already graduated' do","path":"spec/models/associate_consultant_spec.rb","position":15,"original_position":15,"commit_id":"0543e4b3576a28465f99e67002abb8852dd30ebc","original_commit_id":"0543e4b3576a28465f99e67002abb8852dd30ebc","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-04-22T22:13:07Z","updated_at":"2015-04-22T22:13:07Z","html_url":"https://github.com/ReviewSite/ReviewSite/pull/153#discussion_r28920083","pull_request_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153","_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/28920083"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/153#discussion_r28920083"},"pull_request":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153","id":33789453,"html_url":"https://github.com/ReviewSite/ReviewSite/pull/153","diff_url":"https://github.com/ReviewSite/ReviewSite/pull/153.diff","patch_url":"https://github.com/ReviewSite/ReviewSite/pull/153.patch","issue_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/153","number":153,"state":"open","locked":false,"title":"[#111] Migration to set graduate field to default to false.","user":{"login":"louiedp3","id":4204461,"avatar_url":"https://avatars.githubusercontent.com/u/4204461?v=3","gravatar_id":"","url":"https://api.github.com/users/louiedp3","html_url":"https://github.com/louiedp3","followers_url":"https://api.github.com/users/louiedp3/followers","following_url":"https://api.github.com/users/louiedp3/following{/other_user}","gists_url":"https://api.github.com/users/louiedp3/gists{/gist_id}","starred_url":"https://api.github.com/users/louiedp3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louiedp3/subscriptions","organizations_url":"https://api.github.com/users/louiedp3/orgs","repos_url":"https://api.github.com/users/louiedp3/repos","events_url":"https://api.github.com/users/louiedp3/events{/privacy}","received_events_url":"https://api.github.com/users/louiedp3/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T18:27:17Z","updated_at":"2015-04-22T22:13:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"164127835f60634f5b7c791302d634fc682b5700","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153/commits","review_comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153/comments","review_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/153/comments","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/0543e4b3576a28465f99e67002abb8852dd30ebc","head":{"label":"louiedp3:master","ref":"master","sha":"0543e4b3576a28465f99e67002abb8852dd30ebc","user":{"login":"louiedp3","id":4204461,"avatar_url":"https://avatars.githubusercontent.com/u/4204461?v=3","gravatar_id":"","url":"https://api.github.com/users/louiedp3","html_url":"https://github.com/louiedp3","followers_url":"https://api.github.com/users/louiedp3/followers","following_url":"https://api.github.com/users/louiedp3/following{/other_user}","gists_url":"https://api.github.com/users/louiedp3/gists{/gist_id}","starred_url":"https://api.github.com/users/louiedp3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louiedp3/subscriptions","organizations_url":"https://api.github.com/users/louiedp3/orgs","repos_url":"https://api.github.com/users/louiedp3/repos","events_url":"https://api.github.com/users/louiedp3/events{/privacy}","received_events_url":"https://api.github.com/users/louiedp3/received_events","type":"User","site_admin":false},"repo":{"id":32817173,"name":"ReviewSite","full_name":"louiedp3/ReviewSite","owner":{"login":"louiedp3","id":4204461,"avatar_url":"https://avatars.githubusercontent.com/u/4204461?v=3","gravatar_id":"","url":"https://api.github.com/users/louiedp3","html_url":"https://github.com/louiedp3","followers_url":"https://api.github.com/users/louiedp3/followers","following_url":"https://api.github.com/users/louiedp3/following{/other_user}","gists_url":"https://api.github.com/users/louiedp3/gists{/gist_id}","starred_url":"https://api.github.com/users/louiedp3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louiedp3/subscriptions","organizations_url":"https://api.github.com/users/louiedp3/orgs","repos_url":"https://api.github.com/users/louiedp3/repos","events_url":"https://api.github.com/users/louiedp3/events{/privacy}","received_events_url":"https://api.github.com/users/louiedp3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/louiedp3/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":true,"url":"https://api.github.com/repos/louiedp3/ReviewSite","forks_url":"https://api.github.com/repos/louiedp3/ReviewSite/forks","keys_url":"https://api.github.com/repos/louiedp3/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/louiedp3/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/louiedp3/ReviewSite/teams","hooks_url":"https://api.github.com/repos/louiedp3/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/louiedp3/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/louiedp3/ReviewSite/events","assignees_url":"https://api.github.com/repos/louiedp3/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/louiedp3/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/louiedp3/ReviewSite/tags","blobs_url":"https://api.github.com/repos/louiedp3/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/louiedp3/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/louiedp3/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/louiedp3/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/louiedp3/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/louiedp3/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/louiedp3/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/louiedp3/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/louiedp3/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/louiedp3/ReviewSite/subscription","commits_url":"https://api.github.com/repos/louiedp3/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/louiedp3/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/louiedp3/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/louiedp3/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/louiedp3/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/louiedp3/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/louiedp3/ReviewSite/merges","archive_url":"https://api.github.com/repos/louiedp3/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/louiedp3/ReviewSite/downloads","issues_url":"https://api.github.com/repos/louiedp3/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/louiedp3/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/louiedp3/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/louiedp3/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/louiedp3/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/louiedp3/ReviewSite/releases{/id}","created_at":"2015-03-24T18:28:37Z","updated_at":"2015-04-22T22:13:04Z","pushed_at":"2015-04-22T22:13:04Z","git_url":"git://github.com/louiedp3/ReviewSite.git","ssh_url":"git@github.com:louiedp3/ReviewSite.git","clone_url":"https://github.com/louiedp3/ReviewSite.git","svn_url":"https://github.com/louiedp3/ReviewSite","homepage":"","size":12951,"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":"master"}},"base":{"label":"ReviewSite:master","ref":"master","sha":"c625a854756c8bf5822d93892f99f23e725b1b44","user":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"repo":{"id":8145895,"name":"ReviewSite","full_name":"ReviewSite/ReviewSite","owner":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReviewSite/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":false,"url":"https://api.github.com/repos/ReviewSite/ReviewSite","forks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/forks","keys_url":"https://api.github.com/repos/ReviewSite/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReviewSite/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReviewSite/ReviewSite/teams","hooks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/events","assignees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/ReviewSite/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/tags","blobs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/ReviewSite/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscription","commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/ReviewSite/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReviewSite/ReviewSite/merges","archive_url":"https://api.github.com/repos/ReviewSite/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReviewSite/ReviewSite/downloads","issues_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/ReviewSite/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/ReviewSite/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReviewSite/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/ReviewSite/ReviewSite/releases{/id}","created_at":"2013-02-11T20:28:38Z","updated_at":"2015-04-22T15:29:01Z","pushed_at":"2015-04-22T22:13:04Z","git_url":"git://github.com/ReviewSite/ReviewSite.git","ssh_url":"git@github.com:ReviewSite/ReviewSite.git","clone_url":"https://github.com/ReviewSite/ReviewSite.git","svn_url":"https://github.com/ReviewSite/ReviewSite","homepage":"","size":15791,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/153"},"issue":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/153"},"comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/0543e4b3576a28465f99e67002abb8852dd30ebc"}}}}