GitHub PullRequestReviewCommentEvent at 2014-06-17 01:27:08
Repository: ruby-course
Actor: clnoll
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/makersquare/ruby-course/pulls/comments/13839225","id":13839225,"diff_hunk":"@@ -4,4 +4,35 @@\n   it \"exists\" do\n     expect(TM::Task).to be_a(Class)\n   end\n+  describe '#initialize' do\n+    let(:task){TM::Task.new(0,\"new task\",1,0)}\n+    context 'new task is created with a project id a description and a priority number' do\n+      it 'has the project id' do\n+        expect(task.project_id).to eq(0)\n+      end\n+      it 'has a description' do\n+        expect(task.description).to eq(\"new task\")\n+      end\n+      it 'has a priority number' do\n+        expect(task.priority).to eq(1)\n+      end\n+      it 'has a default status of uncompleted' do\n+        expect(task.task_is_completed).to eq(false)\n+      end\n+      it 'has an id number' do\n+        expect(task.id).to eq(0)\n+      end\n+      it 'has a creation date' do\n+        expect(task.creation_date).to be_a(Time)\n+      end\n+    end\n+  end\n+  describe '#change_status' do\n+    it 'marks a task complete' do\n+      task1=TM::Task.new(0,\"new task\",1,0)\n+      task1.change_status\n+      expect(task1.task_is_completed).to be_true","path":"spec/task_spec.rb","position":31,"original_position":31,"commit_id":"f8222904ee43a897e3bbc7ba6afbd76336574527","original_commit_id":"f8222904ee43a897e3bbc7ba6afbd76336574527","user":{"login":"clnoll","id":5257313,"avatar_url":"https://avatars.githubusercontent.com/u/5257313?","gravatar_id":"7b3251464c334b4f4accb5ab6d266209","url":"https://api.github.com/users/clnoll","html_url":"https://github.com/clnoll","followers_url":"https://api.github.com/users/clnoll/followers","following_url":"https://api.github.com/users/clnoll/following{/other_user}","gists_url":"https://api.github.com/users/clnoll/gists{/gist_id}","starred_url":"https://api.github.com/users/clnoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clnoll/subscriptions","organizations_url":"https://api.github.com/users/clnoll/orgs","repos_url":"https://api.github.com/users/clnoll/repos","events_url":"https://api.github.com/users/clnoll/events{/privacy}","received_events_url":"https://api.github.com/users/clnoll/received_events","type":"User","site_admin":false},"body":"Looks good - these tests don't appear to assume any particular underlying structure, so seem pretty flexible.","created_at":"2014-06-17T01:27:08Z","updated_at":"2014-06-17T01:27:08Z","html_url":"https://github.com/makersquare/ruby-course/pull/210#discussion_r13839225","pull_request_url":"https://api.github.com/repos/makersquare/ruby-course/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/comments/13839225"},"html":{"href":"https://github.com/makersquare/ruby-course/pull/210#discussion_r13839225"},"pull_request":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/makersquare/ruby-course/pulls/210","id":17211331,"html_url":"https://github.com/makersquare/ruby-course/pull/210","diff_url":"https://github.com/makersquare/ruby-course/pull/210.diff","patch_url":"https://github.com/makersquare/ruby-course/pull/210.patch","issue_url":"https://api.github.com/repos/makersquare/ruby-course/issues/210","number":210,"state":"open","title":"Task manager","user":{"login":"mathiasarmstrong","id":4241909,"avatar_url":"https://avatars.githubusercontent.com/u/4241909?","gravatar_id":"df24ea5d49277125cc53f7c4e5888cb1","url":"https://api.github.com/users/mathiasarmstrong","html_url":"https://github.com/mathiasarmstrong","followers_url":"https://api.github.com/users/mathiasarmstrong/followers","following_url":"https://api.github.com/users/mathiasarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/mathiasarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasarmstrong/subscriptions","organizations_url":"https://api.github.com/users/mathiasarmstrong/orgs","repos_url":"https://api.github.com/users/mathiasarmstrong/repos","events_url":"https://api.github.com/users/mathiasarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasarmstrong/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-17T00:48:57Z","updated_at":"2014-06-17T01:27:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersquare/ruby-course/pulls/210/commits","review_comments_url":"https://api.github.com/repos/makersquare/ruby-course/pulls/210/comments","review_comment_url":"https://api.github.com/repos/makersquare/ruby-course/pulls/comments/{number}","comments_url":"https://api.github.com/repos/makersquare/ruby-course/issues/210/comments","statuses_url":"https://api.github.com/repos/makersquare/ruby-course/statuses/f8222904ee43a897e3bbc7ba6afbd76336574527","head":{"label":"mathiasarmstrong:task-manager","ref":"task-manager","sha":"f8222904ee43a897e3bbc7ba6afbd76336574527","user":{"login":"mathiasarmstrong","id":4241909,"avatar_url":"https://avatars.githubusercontent.com/u/4241909?","gravatar_id":"df24ea5d49277125cc53f7c4e5888cb1","url":"https://api.github.com/users/mathiasarmstrong","html_url":"https://github.com/mathiasarmstrong","followers_url":"https://api.github.com/users/mathiasarmstrong/followers","following_url":"https://api.github.com/users/mathiasarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/mathiasarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasarmstrong/subscriptions","organizations_url":"https://api.github.com/users/mathiasarmstrong/orgs","repos_url":"https://api.github.com/users/mathiasarmstrong/repos","events_url":"https://api.github.com/users/mathiasarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasarmstrong/received_events","type":"User","site_admin":false},"repo":{"id":20422865,"name":"ruby-course","full_name":"mathiasarmstrong/ruby-course","owner":{"login":"mathiasarmstrong","id":4241909,"avatar_url":"https://avatars.githubusercontent.com/u/4241909?","gravatar_id":"df24ea5d49277125cc53f7c4e5888cb1","url":"https://api.github.com/users/mathiasarmstrong","html_url":"https://github.com/mathiasarmstrong","followers_url":"https://api.github.com/users/mathiasarmstrong/followers","following_url":"https://api.github.com/users/mathiasarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/mathiasarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiasarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiasarmstrong/subscriptions","organizations_url":"https://api.github.com/users/mathiasarmstrong/orgs","repos_url":"https://api.github.com/users/mathiasarmstrong/repos","events_url":"https://api.github.com/users/mathiasarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/mathiasarmstrong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mathiasarmstrong/ruby-course","description":"","fork":true,"url":"https://api.github.com/repos/mathiasarmstrong/ruby-course","forks_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/forks","keys_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/teams","hooks_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/hooks","issue_events_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/issues/events{/number}","events_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/events","assignees_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/assignees{/user}","branches_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/branches{/branch}","tags_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/tags","blobs_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/statuses/{sha}","languages_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/languages","stargazers_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/stargazers","contributors_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/contributors","subscribers_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/subscribers","subscription_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/subscription","commits_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/issues/comments/{number}","contents_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/contents/{+path}","compare_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/merges","archive_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/downloads","issues_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/issues{/number}","pulls_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/pulls{/number}","milestones_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/milestones{/number}","notifications_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/labels{/name}","releases_url":"https://api.github.com/repos/mathiasarmstrong/ruby-course/releases{/id}","created_at":"2014-06-02T23:11:42Z","updated_at":"2014-06-17T00:48:57Z","pushed_at":"2014-06-11T21:45:46Z","git_url":"git://github.com/mathiasarmstrong/ruby-course.git","ssh_url":"git@github.com:mathiasarmstrong/ruby-course.git","clone_url":"https://github.com/mathiasarmstrong/ruby-course.git","svn_url":"https://github.com/mathiasarmstrong/ruby-course","homepage":null,"size":399,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersquare:task-manager","ref":"task-manager","sha":"b5b037ece74920f22ad667aa978e03b55ba0f18b","user":{"login":"makersquare","id":4218375,"avatar_url":"https://avatars.githubusercontent.com/u/4218375?","gravatar_id":"687058c0dcf54250a1dfef3515bbc2a7","url":"https://api.github.com/users/makersquare","html_url":"https://github.com/makersquare","followers_url":"https://api.github.com/users/makersquare/followers","following_url":"https://api.github.com/users/makersquare/following{/other_user}","gists_url":"https://api.github.com/users/makersquare/gists{/gist_id}","starred_url":"https://api.github.com/users/makersquare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersquare/subscriptions","organizations_url":"https://api.github.com/users/makersquare/orgs","repos_url":"https://api.github.com/users/makersquare/repos","events_url":"https://api.github.com/users/makersquare/events{/privacy}","received_events_url":"https://api.github.com/users/makersquare/received_events","type":"Organization","site_admin":false},"repo":{"id":16718577,"name":"ruby-course","full_name":"makersquare/ruby-course","owner":{"login":"makersquare","id":4218375,"avatar_url":"https://avatars.githubusercontent.com/u/4218375?","gravatar_id":"687058c0dcf54250a1dfef3515bbc2a7","url":"https://api.github.com/users/makersquare","html_url":"https://github.com/makersquare","followers_url":"https://api.github.com/users/makersquare/followers","following_url":"https://api.github.com/users/makersquare/following{/other_user}","gists_url":"https://api.github.com/users/makersquare/gists{/gist_id}","starred_url":"https://api.github.com/users/makersquare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersquare/subscriptions","organizations_url":"https://api.github.com/users/makersquare/orgs","repos_url":"https://api.github.com/users/makersquare/repos","events_url":"https://api.github.com/users/makersquare/events{/privacy}","received_events_url":"https://api.github.com/users/makersquare/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersquare/ruby-course","description":"","fork":false,"url":"https://api.github.com/repos/makersquare/ruby-course","forks_url":"https://api.github.com/repos/makersquare/ruby-course/forks","keys_url":"https://api.github.com/repos/makersquare/ruby-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersquare/ruby-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersquare/ruby-course/teams","hooks_url":"https://api.github.com/repos/makersquare/ruby-course/hooks","issue_events_url":"https://api.github.com/repos/makersquare/ruby-course/issues/events{/number}","events_url":"https://api.github.com/repos/makersquare/ruby-course/events","assignees_url":"https://api.github.com/repos/makersquare/ruby-course/assignees{/user}","branches_url":"https://api.github.com/repos/makersquare/ruby-course/branches{/branch}","tags_url":"https://api.github.com/repos/makersquare/ruby-course/tags","blobs_url":"https://api.github.com/repos/makersquare/ruby-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersquare/ruby-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersquare/ruby-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersquare/ruby-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersquare/ruby-course/statuses/{sha}","languages_url":"https://api.github.com/repos/makersquare/ruby-course/languages","stargazers_url":"https://api.github.com/repos/makersquare/ruby-course/stargazers","contributors_url":"https://api.github.com/repos/makersquare/ruby-course/contributors","subscribers_url":"https://api.github.com/repos/makersquare/ruby-course/subscribers","subscription_url":"https://api.github.com/repos/makersquare/ruby-course/subscription","commits_url":"https://api.github.com/repos/makersquare/ruby-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersquare/ruby-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersquare/ruby-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersquare/ruby-course/issues/comments/{number}","contents_url":"https://api.github.com/repos/makersquare/ruby-course/contents/{+path}","compare_url":"https://api.github.com/repos/makersquare/ruby-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersquare/ruby-course/merges","archive_url":"https://api.github.com/repos/makersquare/ruby-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersquare/ruby-course/downloads","issues_url":"https://api.github.com/repos/makersquare/ruby-course/issues{/number}","pulls_url":"https://api.github.com/repos/makersquare/ruby-course/pulls{/number}","milestones_url":"https://api.github.com/repos/makersquare/ruby-course/milestones{/number}","notifications_url":"https://api.github.com/repos/makersquare/ruby-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersquare/ruby-course/labels{/name}","releases_url":"https://api.github.com/repos/makersquare/ruby-course/releases{/id}","created_at":"2014-02-11T03:48:26Z","updated_at":"2014-06-12T19:27:02Z","pushed_at":"2014-06-12T19:27:03Z","git_url":"git://github.com/makersquare/ruby-course.git","ssh_url":"git@github.com:makersquare/ruby-course.git","clone_url":"https://github.com/makersquare/ruby-course.git","svn_url":"https://github.com/makersquare/ruby-course","homepage":null,"size":28056,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":80,"mirror_url":null,"open_issues_count":71,"forks":80,"open_issues":71,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/210"},"html":{"href":"https://github.com/makersquare/ruby-course/pull/210"},"issue":{"href":"https://api.github.com/repos/makersquare/ruby-course/issues/210"},"comments":{"href":"https://api.github.com/repos/makersquare/ruby-course/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/makersquare/ruby-course/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/makersquare/ruby-course/statuses/f8222904ee43a897e3bbc7ba6afbd76336574527"}}}}