{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/comments/212170584","pull_request_review_id":148743127,"id":212170584,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjE3MDU4NA==","diff_hunk":"@@ -0,0 +1,24 @@\n+require 'pry'\n+require 'minitest/autorun'\n+require 'minitest/pride'\n+\n+require './lib/message.rb'\n+\n+class MessageTest < Minitest::Test\n+  def test_it_exists\n+    morse_translator = MorseTranslator.new\n+    newmessage = Message.new(\"There are 3 ships\", morse_translator)\n+    assert_instance_of Message, newmessage\n+  end\n+\n+  def test_translate\n+    morse_translator = MorseTranslator.new\n+    newmessage = Message.new(\"There are 3 ships\", morse_translator)\n+    # binding.pry\n+    # message.translation\n+    newmessage.translation\n+    expected = \"-......-.. .-.-.. ...-- ..........--....\"\n+    assert_equal expected, actual","path":"test/message_test.rb","position":21,"original_position":21,"commit_id":"6c1de37534c8c8e71bb116464c25f885d1c0cb8c","original_commit_id":"6c1de37534c8c8e71bb116464c25f885d1c0cb8c","user":{"login":"s-espinosa","id":10855116,"node_id":"MDQ6VXNlcjEwODU1MTE2","avatar_url":"https://avatars1.githubusercontent.com/u/10855116?v=4","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"body":"Like this pattern in your tests.","created_at":"2018-08-23T03:05:19Z","updated_at":"2018-08-23T03:06:08Z","html_url":"https://github.com/turingschool-examples/morse_translator/pull/31#discussion_r212170584","pull_request_url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/comments/212170584"},"html":{"href":"https://github.com/turingschool-examples/morse_translator/pull/31#discussion_r212170584"},"pull_request":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31","id":210265162,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMjY1MTYy","html_url":"https://github.com/turingschool-examples/morse_translator/pull/31","diff_url":"https://github.com/turingschool-examples/morse_translator/pull/31.diff","patch_url":"https://github.com/turingschool-examples/morse_translator/pull/31.patch","issue_url":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/31","number":31,"state":"open","locked":false,"title":"Iteration 3 non-working","user":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"body":"I wasted a total of a full hour trying to diagnose two errors. Extremely frustrated.","created_at":"2018-08-22T21:08:17Z","updated_at":"2018-08-23T03:06:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e83934453a208422dae59984022b619338173d53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31/commits","review_comments_url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31/comments","review_comment_url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/31/comments","statuses_url":"https://api.github.com/repos/turingschool-examples/morse_translator/statuses/6c1de37534c8c8e71bb116464c25f885d1c0cb8c","head":{"label":"normanrs:master","ref":"master","sha":"6c1de37534c8c8e71bb116464c25f885d1c0cb8c","user":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"repo":{"id":145751213,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NTEyMTM=","name":"morse_translator","full_name":"normanrs/morse_translator","owner":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/normanrs/morse_translator","description":null,"fork":true,"url":"https://api.github.com/repos/normanrs/morse_translator","forks_url":"https://api.github.com/repos/normanrs/morse_translator/forks","keys_url":"https://api.github.com/repos/normanrs/morse_translator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/normanrs/morse_translator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/normanrs/morse_translator/teams","hooks_url":"https://api.github.com/repos/normanrs/morse_translator/hooks","issue_events_url":"https://api.github.com/repos/normanrs/morse_translator/issues/events{/number}","events_url":"https://api.github.com/repos/normanrs/morse_translator/events","assignees_url":"https://api.github.com/repos/normanrs/morse_translator/assignees{/user}","branches_url":"https://api.github.com/repos/normanrs/morse_translator/branches{/branch}","tags_url":"https://api.github.com/repos/normanrs/morse_translator/tags","blobs_url":"https://api.github.com/repos/normanrs/morse_translator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/normanrs/morse_translator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/normanrs/morse_translator/git/refs{/sha}","trees_url":"https://api.github.com/repos/normanrs/morse_translator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/normanrs/morse_translator/statuses/{sha}","languages_url":"https://api.github.com/repos/normanrs/morse_translator/languages","stargazers_url":"https://api.github.com/repos/normanrs/morse_translator/stargazers","contributors_url":"https://api.github.com/repos/normanrs/morse_translator/contributors","subscribers_url":"https://api.github.com/repos/normanrs/morse_translator/subscribers","subscription_url":"https://api.github.com/repos/normanrs/morse_translator/subscription","commits_url":"https://api.github.com/repos/normanrs/morse_translator/commits{/sha}","git_commits_url":"https://api.github.com/repos/normanrs/morse_translator/git/commits{/sha}","comments_url":"https://api.github.com/repos/normanrs/morse_translator/comments{/number}","issue_comment_url":"https://api.github.com/repos/normanrs/morse_translator/issues/comments{/number}","contents_url":"https://api.github.com/repos/normanrs/morse_translator/contents/{+path}","compare_url":"https://api.github.com/repos/normanrs/morse_translator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/normanrs/morse_translator/merges","archive_url":"https://api.github.com/repos/normanrs/morse_translator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/normanrs/morse_translator/downloads","issues_url":"https://api.github.com/repos/normanrs/morse_translator/issues{/number}","pulls_url":"https://api.github.com/repos/normanrs/morse_translator/pulls{/number}","milestones_url":"https://api.github.com/repos/normanrs/morse_translator/milestones{/number}","notifications_url":"https://api.github.com/repos/normanrs/morse_translator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/normanrs/morse_translator/labels{/name}","releases_url":"https://api.github.com/repos/normanrs/morse_translator/releases{/id}","deployments_url":"https://api.github.com/repos/normanrs/morse_translator/deployments","created_at":"2018-08-22T19:05:07Z","updated_at":"2018-08-22T21:05:14Z","pushed_at":"2018-08-22T21:05:13Z","git_url":"git://github.com/normanrs/morse_translator.git","ssh_url":"git@github.com:normanrs/morse_translator.git","clone_url":"https://github.com/normanrs/morse_translator.git","svn_url":"https://github.com/normanrs/morse_translator","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-examples:master","ref":"master","sha":"eb586ae8654eb609fc4f7e822fb68b574408f0f8","user":{"login":"turingschool-examples","id":8518346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MTgzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"repo":{"id":145746196,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NDYxOTY=","name":"morse_translator","full_name":"turingschool-examples/morse_translator","owner":{"login":"turingschool-examples","id":8518346,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MTgzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-examples/morse_translator","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-examples/morse_translator","forks_url":"https://api.github.com/repos/turingschool-examples/morse_translator/forks","keys_url":"https://api.github.com/repos/turingschool-examples/morse_translator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-examples/morse_translator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-examples/morse_translator/teams","hooks_url":"https://api.github.com/repos/turingschool-examples/morse_translator/hooks","issue_events_url":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-examples/morse_translator/events","assignees_url":"https://api.github.com/repos/turingschool-examples/morse_translator/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-examples/morse_translator/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-examples/morse_translator/tags","blobs_url":"https://api.github.com/repos/turingschool-examples/morse_translator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-examples/morse_translator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-examples/morse_translator/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-examples/morse_translator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-examples/morse_translator/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-examples/morse_translator/languages","stargazers_url":"https://api.github.com/repos/turingschool-examples/morse_translator/stargazers","contributors_url":"https://api.github.com/repos/turingschool-examples/morse_translator/contributors","subscribers_url":"https://api.github.com/repos/turingschool-examples/morse_translator/subscribers","subscription_url":"https://api.github.com/repos/turingschool-examples/morse_translator/subscription","commits_url":"https://api.github.com/repos/turingschool-examples/morse_translator/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-examples/morse_translator/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-examples/morse_translator/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-examples/morse_translator/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-examples/morse_translator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-examples/morse_translator/merges","archive_url":"https://api.github.com/repos/turingschool-examples/morse_translator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-examples/morse_translator/downloads","issues_url":"https://api.github.com/repos/turingschool-examples/morse_translator/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-examples/morse_translator/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-examples/morse_translator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-examples/morse_translator/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-examples/morse_translator/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-examples/morse_translator/deployments","created_at":"2018-08-22T18:16:33Z","updated_at":"2018-08-22T18:56:53Z","pushed_at":"2018-08-22T21:22:55Z","git_url":"git://github.com/turingschool-examples/morse_translator.git","ssh_url":"git@github.com:turingschool-examples/morse_translator.git","clone_url":"https://github.com/turingschool-examples/morse_translator.git","svn_url":"https://github.com/turingschool-examples/morse_translator","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":32,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31"},"html":{"href":"https://github.com/turingschool-examples/morse_translator/pull/31"},"issue":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/31"},"comments":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-examples/morse_translator/statuses/6c1de37534c8c8e71bb116464c25f885d1c0cb8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"s-espinosa"}}