{"action":"created","comment":{"url":"https://api.github.com/repos/mgurbanzade/qna/pulls/comments/190819424","pull_request_review_id":123276252,"id":190819424,"diff_hunk":"@@ -0,0 +1,8 @@\n+require 'rails_helper'\n+\n+RSpec.describe DailyDigestJob, type: :job do\n+  it 'sends daily digest' do\n+    expect(User).to receive(:send_daily_digest)","path":"spec/jobs/daily_digest_job_spec.rb","position":5,"original_position":5,"commit_id":"79ff61a38fd2c0736e841e6256506144e3334382","original_commit_id":"79ff61a38fd2c0736e841e6256506144e3334382","user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars3.githubusercontent.com/u/968537?v=4","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"body":"А где тест самого метода send_daily_digest в тестах модели User?","created_at":"2018-05-25T08:09:38Z","updated_at":"2018-05-25T08:10:50Z","html_url":"https://github.com/mgurbanzade/qna/pull/16#discussion_r190819424","pull_request_url":"https://api.github.com/repos/mgurbanzade/qna/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/comments/190819424"},"html":{"href":"https://github.com/mgurbanzade/qna/pull/16#discussion_r190819424"},"pull_request":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/mgurbanzade/qna/pulls/16","id":190275420,"html_url":"https://github.com/mgurbanzade/qna/pull/16","diff_url":"https://github.com/mgurbanzade/qna/pull/16.diff","patch_url":"https://github.com/mgurbanzade/qna/pull/16.patch","issue_url":"https://api.github.com/repos/mgurbanzade/qna/issues/16","number":16,"state":"open","locked":false,"title":"Module 17. Scheduled and Background Jobs","user":{"login":"mgurbanzade","id":27240114,"avatar_url":"https://avatars0.githubusercontent.com/u/27240114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgurbanzade","html_url":"https://github.com/mgurbanzade","followers_url":"https://api.github.com/users/mgurbanzade/followers","following_url":"https://api.github.com/users/mgurbanzade/following{/other_user}","gists_url":"https://api.github.com/users/mgurbanzade/gists{/gist_id}","starred_url":"https://api.github.com/users/mgurbanzade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgurbanzade/subscriptions","organizations_url":"https://api.github.com/users/mgurbanzade/orgs","repos_url":"https://api.github.com/users/mgurbanzade/repos","events_url":"https://api.github.com/users/mgurbanzade/events{/privacy}","received_events_url":"https://api.github.com/users/mgurbanzade/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-24T12:41:05Z","updated_at":"2018-05-25T08:10:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04a6059f6ab25510ac9444b537b36fc50eb60582","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mgurbanzade/qna/pulls/16/commits","review_comments_url":"https://api.github.com/repos/mgurbanzade/qna/pulls/16/comments","review_comment_url":"https://api.github.com/repos/mgurbanzade/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mgurbanzade/qna/issues/16/comments","statuses_url":"https://api.github.com/repos/mgurbanzade/qna/statuses/79ff61a38fd2c0736e841e6256506144e3334382","head":{"label":"mgurbanzade:active-job","ref":"active-job","sha":"79ff61a38fd2c0736e841e6256506144e3334382","user":{"login":"mgurbanzade","id":27240114,"avatar_url":"https://avatars0.githubusercontent.com/u/27240114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgurbanzade","html_url":"https://github.com/mgurbanzade","followers_url":"https://api.github.com/users/mgurbanzade/followers","following_url":"https://api.github.com/users/mgurbanzade/following{/other_user}","gists_url":"https://api.github.com/users/mgurbanzade/gists{/gist_id}","starred_url":"https://api.github.com/users/mgurbanzade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgurbanzade/subscriptions","organizations_url":"https://api.github.com/users/mgurbanzade/orgs","repos_url":"https://api.github.com/users/mgurbanzade/repos","events_url":"https://api.github.com/users/mgurbanzade/events{/privacy}","received_events_url":"https://api.github.com/users/mgurbanzade/received_events","type":"User","site_admin":false},"repo":{"id":130193539,"name":"qna","full_name":"mgurbanzade/qna","owner":{"login":"mgurbanzade","id":27240114,"avatar_url":"https://avatars0.githubusercontent.com/u/27240114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgurbanzade","html_url":"https://github.com/mgurbanzade","followers_url":"https://api.github.com/users/mgurbanzade/followers","following_url":"https://api.github.com/users/mgurbanzade/following{/other_user}","gists_url":"https://api.github.com/users/mgurbanzade/gists{/gist_id}","starred_url":"https://api.github.com/users/mgurbanzade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgurbanzade/subscriptions","organizations_url":"https://api.github.com/users/mgurbanzade/orgs","repos_url":"https://api.github.com/users/mgurbanzade/repos","events_url":"https://api.github.com/users/mgurbanzade/events{/privacy}","received_events_url":"https://api.github.com/users/mgurbanzade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgurbanzade/qna","description":null,"fork":false,"url":"https://api.github.com/repos/mgurbanzade/qna","forks_url":"https://api.github.com/repos/mgurbanzade/qna/forks","keys_url":"https://api.github.com/repos/mgurbanzade/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgurbanzade/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgurbanzade/qna/teams","hooks_url":"https://api.github.com/repos/mgurbanzade/qna/hooks","issue_events_url":"https://api.github.com/repos/mgurbanzade/qna/issues/events{/number}","events_url":"https://api.github.com/repos/mgurbanzade/qna/events","assignees_url":"https://api.github.com/repos/mgurbanzade/qna/assignees{/user}","branches_url":"https://api.github.com/repos/mgurbanzade/qna/branches{/branch}","tags_url":"https://api.github.com/repos/mgurbanzade/qna/tags","blobs_url":"https://api.github.com/repos/mgurbanzade/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgurbanzade/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgurbanzade/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgurbanzade/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgurbanzade/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/mgurbanzade/qna/languages","stargazers_url":"https://api.github.com/repos/mgurbanzade/qna/stargazers","contributors_url":"https://api.github.com/repos/mgurbanzade/qna/contributors","subscribers_url":"https://api.github.com/repos/mgurbanzade/qna/subscribers","subscription_url":"https://api.github.com/repos/mgurbanzade/qna/subscription","commits_url":"https://api.github.com/repos/mgurbanzade/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgurbanzade/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgurbanzade/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgurbanzade/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgurbanzade/qna/contents/{+path}","compare_url":"https://api.github.com/repos/mgurbanzade/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgurbanzade/qna/merges","archive_url":"https://api.github.com/repos/mgurbanzade/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgurbanzade/qna/downloads","issues_url":"https://api.github.com/repos/mgurbanzade/qna/issues{/number}","pulls_url":"https://api.github.com/repos/mgurbanzade/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/mgurbanzade/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/mgurbanzade/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgurbanzade/qna/labels{/name}","releases_url":"https://api.github.com/repos/mgurbanzade/qna/releases{/id}","deployments_url":"https://api.github.com/repos/mgurbanzade/qna/deployments","created_at":"2018-04-19T09:41:46Z","updated_at":"2018-05-21T08:24:06Z","pushed_at":"2018-05-25T05:38:45Z","git_url":"git://github.com/mgurbanzade/qna.git","ssh_url":"git@github.com:mgurbanzade/qna.git","clone_url":"https://github.com/mgurbanzade/qna.git","svn_url":"https://github.com/mgurbanzade/qna","homepage":null,"size":230,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mgurbanzade:master","ref":"master","sha":"1ac1884ac6a8b08fa51e15ce0f799011f6e8fa2b","user":{"login":"mgurbanzade","id":27240114,"avatar_url":"https://avatars0.githubusercontent.com/u/27240114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgurbanzade","html_url":"https://github.com/mgurbanzade","followers_url":"https://api.github.com/users/mgurbanzade/followers","following_url":"https://api.github.com/users/mgurbanzade/following{/other_user}","gists_url":"https://api.github.com/users/mgurbanzade/gists{/gist_id}","starred_url":"https://api.github.com/users/mgurbanzade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgurbanzade/subscriptions","organizations_url":"https://api.github.com/users/mgurbanzade/orgs","repos_url":"https://api.github.com/users/mgurbanzade/repos","events_url":"https://api.github.com/users/mgurbanzade/events{/privacy}","received_events_url":"https://api.github.com/users/mgurbanzade/received_events","type":"User","site_admin":false},"repo":{"id":130193539,"name":"qna","full_name":"mgurbanzade/qna","owner":{"login":"mgurbanzade","id":27240114,"avatar_url":"https://avatars0.githubusercontent.com/u/27240114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgurbanzade","html_url":"https://github.com/mgurbanzade","followers_url":"https://api.github.com/users/mgurbanzade/followers","following_url":"https://api.github.com/users/mgurbanzade/following{/other_user}","gists_url":"https://api.github.com/users/mgurbanzade/gists{/gist_id}","starred_url":"https://api.github.com/users/mgurbanzade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgurbanzade/subscriptions","organizations_url":"https://api.github.com/users/mgurbanzade/orgs","repos_url":"https://api.github.com/users/mgurbanzade/repos","events_url":"https://api.github.com/users/mgurbanzade/events{/privacy}","received_events_url":"https://api.github.com/users/mgurbanzade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgurbanzade/qna","description":null,"fork":false,"url":"https://api.github.com/repos/mgurbanzade/qna","forks_url":"https://api.github.com/repos/mgurbanzade/qna/forks","keys_url":"https://api.github.com/repos/mgurbanzade/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgurbanzade/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgurbanzade/qna/teams","hooks_url":"https://api.github.com/repos/mgurbanzade/qna/hooks","issue_events_url":"https://api.github.com/repos/mgurbanzade/qna/issues/events{/number}","events_url":"https://api.github.com/repos/mgurbanzade/qna/events","assignees_url":"https://api.github.com/repos/mgurbanzade/qna/assignees{/user}","branches_url":"https://api.github.com/repos/mgurbanzade/qna/branches{/branch}","tags_url":"https://api.github.com/repos/mgurbanzade/qna/tags","blobs_url":"https://api.github.com/repos/mgurbanzade/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgurbanzade/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgurbanzade/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgurbanzade/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgurbanzade/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/mgurbanzade/qna/languages","stargazers_url":"https://api.github.com/repos/mgurbanzade/qna/stargazers","contributors_url":"https://api.github.com/repos/mgurbanzade/qna/contributors","subscribers_url":"https://api.github.com/repos/mgurbanzade/qna/subscribers","subscription_url":"https://api.github.com/repos/mgurbanzade/qna/subscription","commits_url":"https://api.github.com/repos/mgurbanzade/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgurbanzade/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgurbanzade/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgurbanzade/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgurbanzade/qna/contents/{+path}","compare_url":"https://api.github.com/repos/mgurbanzade/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgurbanzade/qna/merges","archive_url":"https://api.github.com/repos/mgurbanzade/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgurbanzade/qna/downloads","issues_url":"https://api.github.com/repos/mgurbanzade/qna/issues{/number}","pulls_url":"https://api.github.com/repos/mgurbanzade/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/mgurbanzade/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/mgurbanzade/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgurbanzade/qna/labels{/name}","releases_url":"https://api.github.com/repos/mgurbanzade/qna/releases{/id}","deployments_url":"https://api.github.com/repos/mgurbanzade/qna/deployments","created_at":"2018-04-19T09:41:46Z","updated_at":"2018-05-21T08:24:06Z","pushed_at":"2018-05-25T05:38:45Z","git_url":"git://github.com/mgurbanzade/qna.git","ssh_url":"git@github.com:mgurbanzade/qna.git","clone_url":"https://github.com/mgurbanzade/qna.git","svn_url":"https://github.com/mgurbanzade/qna","homepage":null,"size":230,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/16"},"html":{"href":"https://github.com/mgurbanzade/qna/pull/16"},"issue":{"href":"https://api.github.com/repos/mgurbanzade/qna/issues/16"},"comments":{"href":"https://api.github.com/repos/mgurbanzade/qna/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mgurbanzade/qna/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/mgurbanzade/qna/statuses/79ff61a38fd2c0736e841e6256506144e3334382"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vkurennov"}}