{"action":"created","comment":{"url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/comments/28824298","id":28824298,"diff_hunk":"@@ -2,6 +2,13 @@\n \n class UserTest < ActiveSupport::TestCase\n \n+  def test_if_user_valid\n+    user = users(:marcus)\n+\n+    assert_equal true, user.valid?","path":"test/models/user_test.rb","position":7,"original_position":7,"commit_id":"039aff0fd529cd5770cbe9c88341ebf0310b5481","original_commit_id":"039aff0fd529cd5770cbe9c88341ebf0310b5481","user":{"login":"derencius","id":2839,"avatar_url":"https://avatars.githubusercontent.com/u/2839?v=3","gravatar_id":"","url":"https://api.github.com/users/derencius","html_url":"https://github.com/derencius","followers_url":"https://api.github.com/users/derencius/followers","following_url":"https://api.github.com/users/derencius/following{/other_user}","gists_url":"https://api.github.com/users/derencius/gists{/gist_id}","starred_url":"https://api.github.com/users/derencius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derencius/subscriptions","organizations_url":"https://api.github.com/users/derencius/orgs","repos_url":"https://api.github.com/users/derencius/repos","events_url":"https://api.github.com/users/derencius/events{/privacy}","received_events_url":"https://api.github.com/users/derencius/received_events","type":"User","site_admin":false},"body":"you could use a simpler assert:\r\n\r\n    assert user.valid?","created_at":"2015-04-21T21:29:10Z","updated_at":"2015-04-21T21:29:10Z","html_url":"https://github.com/tsl-ss/bugcatcher/pull/3#discussion_r28824298","pull_request_url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/comments/28824298"},"html":{"href":"https://github.com/tsl-ss/bugcatcher/pull/3#discussion_r28824298"},"pull_request":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3","id":33795369,"html_url":"https://github.com/tsl-ss/bugcatcher/pull/3","diff_url":"https://github.com/tsl-ss/bugcatcher/pull/3.diff","patch_url":"https://github.com/tsl-ss/bugcatcher/pull/3.patch","issue_url":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/3","number":3,"state":"open","locked":false,"title":"Add test for report model","user":{"login":"a-woodworth","id":10478733,"avatar_url":"https://avatars.githubusercontent.com/u/10478733?v=3","gravatar_id":"","url":"https://api.github.com/users/a-woodworth","html_url":"https://github.com/a-woodworth","followers_url":"https://api.github.com/users/a-woodworth/followers","following_url":"https://api.github.com/users/a-woodworth/following{/other_user}","gists_url":"https://api.github.com/users/a-woodworth/gists{/gist_id}","starred_url":"https://api.github.com/users/a-woodworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-woodworth/subscriptions","organizations_url":"https://api.github.com/users/a-woodworth/orgs","repos_url":"https://api.github.com/users/a-woodworth/repos","events_url":"https://api.github.com/users/a-woodworth/events{/privacy}","received_events_url":"https://api.github.com/users/a-woodworth/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T19:35:47Z","updated_at":"2015-04-21T21:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb334d317e628009c97b8ee7c1b34f94a044b9f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3/commits","review_comments_url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3/comments","review_comment_url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/3/comments","statuses_url":"https://api.github.com/repos/tsl-ss/bugcatcher/statuses/039aff0fd529cd5770cbe9c88341ebf0310b5481","head":{"label":"a-woodworth:master","ref":"master","sha":"039aff0fd529cd5770cbe9c88341ebf0310b5481","user":{"login":"a-woodworth","id":10478733,"avatar_url":"https://avatars.githubusercontent.com/u/10478733?v=3","gravatar_id":"","url":"https://api.github.com/users/a-woodworth","html_url":"https://github.com/a-woodworth","followers_url":"https://api.github.com/users/a-woodworth/followers","following_url":"https://api.github.com/users/a-woodworth/following{/other_user}","gists_url":"https://api.github.com/users/a-woodworth/gists{/gist_id}","starred_url":"https://api.github.com/users/a-woodworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-woodworth/subscriptions","organizations_url":"https://api.github.com/users/a-woodworth/orgs","repos_url":"https://api.github.com/users/a-woodworth/repos","events_url":"https://api.github.com/users/a-woodworth/events{/privacy}","received_events_url":"https://api.github.com/users/a-woodworth/received_events","type":"User","site_admin":false},"repo":{"id":34137532,"name":"bugcatcher","full_name":"a-woodworth/bugcatcher","owner":{"login":"a-woodworth","id":10478733,"avatar_url":"https://avatars.githubusercontent.com/u/10478733?v=3","gravatar_id":"","url":"https://api.github.com/users/a-woodworth","html_url":"https://github.com/a-woodworth","followers_url":"https://api.github.com/users/a-woodworth/followers","following_url":"https://api.github.com/users/a-woodworth/following{/other_user}","gists_url":"https://api.github.com/users/a-woodworth/gists{/gist_id}","starred_url":"https://api.github.com/users/a-woodworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-woodworth/subscriptions","organizations_url":"https://api.github.com/users/a-woodworth/orgs","repos_url":"https://api.github.com/users/a-woodworth/repos","events_url":"https://api.github.com/users/a-woodworth/events{/privacy}","received_events_url":"https://api.github.com/users/a-woodworth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a-woodworth/bugcatcher","description":"Bug Catcher App","fork":true,"url":"https://api.github.com/repos/a-woodworth/bugcatcher","forks_url":"https://api.github.com/repos/a-woodworth/bugcatcher/forks","keys_url":"https://api.github.com/repos/a-woodworth/bugcatcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a-woodworth/bugcatcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a-woodworth/bugcatcher/teams","hooks_url":"https://api.github.com/repos/a-woodworth/bugcatcher/hooks","issue_events_url":"https://api.github.com/repos/a-woodworth/bugcatcher/issues/events{/number}","events_url":"https://api.github.com/repos/a-woodworth/bugcatcher/events","assignees_url":"https://api.github.com/repos/a-woodworth/bugcatcher/assignees{/user}","branches_url":"https://api.github.com/repos/a-woodworth/bugcatcher/branches{/branch}","tags_url":"https://api.github.com/repos/a-woodworth/bugcatcher/tags","blobs_url":"https://api.github.com/repos/a-woodworth/bugcatcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a-woodworth/bugcatcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a-woodworth/bugcatcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/a-woodworth/bugcatcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a-woodworth/bugcatcher/statuses/{sha}","languages_url":"https://api.github.com/repos/a-woodworth/bugcatcher/languages","stargazers_url":"https://api.github.com/repos/a-woodworth/bugcatcher/stargazers","contributors_url":"https://api.github.com/repos/a-woodworth/bugcatcher/contributors","subscribers_url":"https://api.github.com/repos/a-woodworth/bugcatcher/subscribers","subscription_url":"https://api.github.com/repos/a-woodworth/bugcatcher/subscription","commits_url":"https://api.github.com/repos/a-woodworth/bugcatcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/a-woodworth/bugcatcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/a-woodworth/bugcatcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/a-woodworth/bugcatcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/a-woodworth/bugcatcher/contents/{+path}","compare_url":"https://api.github.com/repos/a-woodworth/bugcatcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a-woodworth/bugcatcher/merges","archive_url":"https://api.github.com/repos/a-woodworth/bugcatcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a-woodworth/bugcatcher/downloads","issues_url":"https://api.github.com/repos/a-woodworth/bugcatcher/issues{/number}","pulls_url":"https://api.github.com/repos/a-woodworth/bugcatcher/pulls{/number}","milestones_url":"https://api.github.com/repos/a-woodworth/bugcatcher/milestones{/number}","notifications_url":"https://api.github.com/repos/a-woodworth/bugcatcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a-woodworth/bugcatcher/labels{/name}","releases_url":"https://api.github.com/repos/a-woodworth/bugcatcher/releases{/id}","created_at":"2015-04-17T20:04:42Z","updated_at":"2015-04-21T20:59:01Z","pushed_at":"2015-04-21T20:59:01Z","git_url":"git://github.com/a-woodworth/bugcatcher.git","ssh_url":"git@github.com:a-woodworth/bugcatcher.git","clone_url":"https://github.com/a-woodworth/bugcatcher.git","svn_url":"https://github.com/a-woodworth/bugcatcher","homepage":"bugcather.starterschool.com","size":5235,"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":"tsl-ss:master","ref":"master","sha":"c9eb3cd05ba28e8aef65616a26bfd630a130de2b","user":{"login":"tsl-ss","id":11944140,"avatar_url":"https://avatars.githubusercontent.com/u/11944140?v=3","gravatar_id":"","url":"https://api.github.com/users/tsl-ss","html_url":"https://github.com/tsl-ss","followers_url":"https://api.github.com/users/tsl-ss/followers","following_url":"https://api.github.com/users/tsl-ss/following{/other_user}","gists_url":"https://api.github.com/users/tsl-ss/gists{/gist_id}","starred_url":"https://api.github.com/users/tsl-ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsl-ss/subscriptions","organizations_url":"https://api.github.com/users/tsl-ss/orgs","repos_url":"https://api.github.com/users/tsl-ss/repos","events_url":"https://api.github.com/users/tsl-ss/events{/privacy}","received_events_url":"https://api.github.com/users/tsl-ss/received_events","type":"Organization","site_admin":false},"repo":{"id":33933723,"name":"bugcatcher","full_name":"tsl-ss/bugcatcher","owner":{"login":"tsl-ss","id":11944140,"avatar_url":"https://avatars.githubusercontent.com/u/11944140?v=3","gravatar_id":"","url":"https://api.github.com/users/tsl-ss","html_url":"https://github.com/tsl-ss","followers_url":"https://api.github.com/users/tsl-ss/followers","following_url":"https://api.github.com/users/tsl-ss/following{/other_user}","gists_url":"https://api.github.com/users/tsl-ss/gists{/gist_id}","starred_url":"https://api.github.com/users/tsl-ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsl-ss/subscriptions","organizations_url":"https://api.github.com/users/tsl-ss/orgs","repos_url":"https://api.github.com/users/tsl-ss/repos","events_url":"https://api.github.com/users/tsl-ss/events{/privacy}","received_events_url":"https://api.github.com/users/tsl-ss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tsl-ss/bugcatcher","description":"Bug Catcher App","fork":false,"url":"https://api.github.com/repos/tsl-ss/bugcatcher","forks_url":"https://api.github.com/repos/tsl-ss/bugcatcher/forks","keys_url":"https://api.github.com/repos/tsl-ss/bugcatcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsl-ss/bugcatcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsl-ss/bugcatcher/teams","hooks_url":"https://api.github.com/repos/tsl-ss/bugcatcher/hooks","issue_events_url":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/events{/number}","events_url":"https://api.github.com/repos/tsl-ss/bugcatcher/events","assignees_url":"https://api.github.com/repos/tsl-ss/bugcatcher/assignees{/user}","branches_url":"https://api.github.com/repos/tsl-ss/bugcatcher/branches{/branch}","tags_url":"https://api.github.com/repos/tsl-ss/bugcatcher/tags","blobs_url":"https://api.github.com/repos/tsl-ss/bugcatcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsl-ss/bugcatcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsl-ss/bugcatcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsl-ss/bugcatcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsl-ss/bugcatcher/statuses/{sha}","languages_url":"https://api.github.com/repos/tsl-ss/bugcatcher/languages","stargazers_url":"https://api.github.com/repos/tsl-ss/bugcatcher/stargazers","contributors_url":"https://api.github.com/repos/tsl-ss/bugcatcher/contributors","subscribers_url":"https://api.github.com/repos/tsl-ss/bugcatcher/subscribers","subscription_url":"https://api.github.com/repos/tsl-ss/bugcatcher/subscription","commits_url":"https://api.github.com/repos/tsl-ss/bugcatcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsl-ss/bugcatcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsl-ss/bugcatcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsl-ss/bugcatcher/contents/{+path}","compare_url":"https://api.github.com/repos/tsl-ss/bugcatcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsl-ss/bugcatcher/merges","archive_url":"https://api.github.com/repos/tsl-ss/bugcatcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsl-ss/bugcatcher/downloads","issues_url":"https://api.github.com/repos/tsl-ss/bugcatcher/issues{/number}","pulls_url":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls{/number}","milestones_url":"https://api.github.com/repos/tsl-ss/bugcatcher/milestones{/number}","notifications_url":"https://api.github.com/repos/tsl-ss/bugcatcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsl-ss/bugcatcher/labels{/name}","releases_url":"https://api.github.com/repos/tsl-ss/bugcatcher/releases{/id}","created_at":"2015-04-14T13:35:55Z","updated_at":"2015-04-21T15:48:57Z","pushed_at":"2015-04-21T21:14:12Z","git_url":"git://github.com/tsl-ss/bugcatcher.git","ssh_url":"git@github.com:tsl-ss/bugcatcher.git","clone_url":"https://github.com/tsl-ss/bugcatcher.git","svn_url":"https://github.com/tsl-ss/bugcatcher","homepage":"bugcather.starterschool.com","size":5409,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3"},"html":{"href":"https://github.com/tsl-ss/bugcatcher/pull/3"},"issue":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/3"},"comments":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/tsl-ss/bugcatcher/statuses/039aff0fd529cd5770cbe9c88341ebf0310b5481"}}}}