{"action":"created","comment":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/comments/32247467","id":32247467,"diff_hunk":"@@ -0,0 +1,50 @@\n+require './lib/scrabble/scrabble.rb'\n+\n+describe Scrabble::Scrabble do","path":"spec/lib/scrabble_spec.rb","position":3,"original_position":3,"commit_id":"a30455b4895b5ea753eb41f291b98e1d59f244a3","original_commit_id":"a30455b4895b5ea753eb41f291b98e1d59f244a3","user":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"body":"@mhotan I'm not sure what you mean. So right now, the highest_score_from method handles all the cases you mentioned. For not equal in point value, it only returns the highest point scoring word. For equal in point, it checks for the length of the word and returns either the shortest or the 7 letter word. And for equal in point and length, it returns the first word as a side effect of the minmax_by method.","created_at":"2015-06-11T17:43:09Z","updated_at":"2015-06-11T17:43:09Z","html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17#discussion_r32247467","pull_request_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/comments/32247467"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17#discussion_r32247467"},"pull_request":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17","id":36376880,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17","diff_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17.diff","patch_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17.patch","issue_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/17","number":17,"state":"open","locked":false,"title":"Khn/master","user":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"body":"This submission is for the breakfast tier.\r\n\r\nFor the \".highest_score_from\" I was able to complete all requirements for the method, though in a round-a-bout way. I commented out a previous attempt on that method that was much more concise but that was not able to successfully complete to account for shorter words.\r\n\r\nFor my spec file, I was able to write functionality tests for a range of methods, but again, given more time, I'd add a few more tests for \".highest_score_from\".","created_at":"2015-05-28T06:56:43Z","updated_at":"2015-06-11T17:43:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05a146b18eb92c9c1aa48a329bfc59dfcaf98ef5","assignee":{"login":"mhotan","id":2236795,"avatar_url":"https://avatars.githubusercontent.com/u/2236795?v=3","gravatar_id":"","url":"https://api.github.com/users/mhotan","html_url":"https://github.com/mhotan","followers_url":"https://api.github.com/users/mhotan/followers","following_url":"https://api.github.com/users/mhotan/following{/other_user}","gists_url":"https://api.github.com/users/mhotan/gists{/gist_id}","starred_url":"https://api.github.com/users/mhotan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhotan/subscriptions","organizations_url":"https://api.github.com/users/mhotan/orgs","repos_url":"https://api.github.com/users/mhotan/repos","events_url":"https://api.github.com/users/mhotan/events{/privacy}","received_events_url":"https://api.github.com/users/mhotan/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/17/comments","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/statuses/a30455b4895b5ea753eb41f291b98e1d59f244a3","head":{"label":"knguyen0710:khn/master","ref":"khn/master","sha":"a30455b4895b5ea753eb41f291b98e1d59f244a3","user":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"repo":{"id":36325639,"name":"C3Projects--Scrabble","full_name":"knguyen0710/C3Projects--Scrabble","owner":{"login":"knguyen0710","id":11000279,"avatar_url":"https://avatars.githubusercontent.com/u/11000279?v=3","gravatar_id":"","url":"https://api.github.com/users/knguyen0710","html_url":"https://github.com/knguyen0710","followers_url":"https://api.github.com/users/knguyen0710/followers","following_url":"https://api.github.com/users/knguyen0710/following{/other_user}","gists_url":"https://api.github.com/users/knguyen0710/gists{/gist_id}","starred_url":"https://api.github.com/users/knguyen0710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knguyen0710/subscriptions","organizations_url":"https://api.github.com/users/knguyen0710/orgs","repos_url":"https://api.github.com/users/knguyen0710/repos","events_url":"https://api.github.com/users/knguyen0710/events{/privacy}","received_events_url":"https://api.github.com/users/knguyen0710/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knguyen0710/C3Projects--Scrabble","description":"Cohort[2] Scrabble project","fork":true,"url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble","forks_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/forks","keys_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/teams","hooks_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/hooks","issue_events_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/events","assignees_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/tags","blobs_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/languages","stargazers_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/stargazers","contributors_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/contributors","subscribers_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/subscribers","subscription_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/subscription","commits_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/merges","archive_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/downloads","issues_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/labels{/name}","releases_url":"https://api.github.com/repos/knguyen0710/C3Projects--Scrabble/releases{/id}","created_at":"2015-05-26T21:45:46Z","updated_at":"2015-05-26T21:45:46Z","pushed_at":"2015-05-31T23:37:47Z","git_url":"git://github.com/knguyen0710/C3Projects--Scrabble.git","ssh_url":"git@github.com:knguyen0710/C3Projects--Scrabble.git","clone_url":"https://github.com/knguyen0710/C3Projects--Scrabble.git","svn_url":"https://github.com/knguyen0710/C3Projects--Scrabble","homepage":null,"size":103,"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":"Ada-Developers-Academy:khn/master","ref":"khn/master","sha":"28ab173b74d482039736399c878aecd20d0c9e8d","user":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"repo":{"id":36305785,"name":"C3Projects--Scrabble","full_name":"Ada-Developers-Academy/C3Projects--Scrabble","owner":{"login":"Ada-Developers-Academy","id":4689715,"avatar_url":"https://avatars.githubusercontent.com/u/4689715?v=3","gravatar_id":"","url":"https://api.github.com/users/Ada-Developers-Academy","html_url":"https://github.com/Ada-Developers-Academy","followers_url":"https://api.github.com/users/Ada-Developers-Academy/followers","following_url":"https://api.github.com/users/Ada-Developers-Academy/following{/other_user}","gists_url":"https://api.github.com/users/Ada-Developers-Academy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ada-Developers-Academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ada-Developers-Academy/subscriptions","organizations_url":"https://api.github.com/users/Ada-Developers-Academy/orgs","repos_url":"https://api.github.com/users/Ada-Developers-Academy/repos","events_url":"https://api.github.com/users/Ada-Developers-Academy/events{/privacy}","received_events_url":"https://api.github.com/users/Ada-Developers-Academy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble","description":"Cohort[2] Scrabble project","fork":false,"url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble","forks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/forks","keys_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/teams","hooks_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/hooks","issue_events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/events","assignees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/tags","blobs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/languages","stargazers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/stargazers","contributors_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/contributors","subscribers_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/subscribers","subscription_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/subscription","commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/merges","archive_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/downloads","issues_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/labels{/name}","releases_url":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/releases{/id}","created_at":"2015-05-26T15:35:52Z","updated_at":"2015-05-26T15:48:41Z","pushed_at":"2015-06-11T17:41:46Z","git_url":"git://github.com/Ada-Developers-Academy/C3Projects--Scrabble.git","ssh_url":"git@github.com:Ada-Developers-Academy/C3Projects--Scrabble.git","clone_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble.git","svn_url":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble","homepage":null,"size":821,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":23,"forks":26,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17"},"html":{"href":"https://github.com/Ada-Developers-Academy/C3Projects--Scrabble/pull/17"},"issue":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/17"},"comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Ada-Developers-Academy/C3Projects--Scrabble/statuses/a30455b4895b5ea753eb41f291b98e1d59f244a3"}}}}