{"action":"created","comment":{"url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/comments/55553164","id":55553164,"diff_hunk":"@@ -0,0 +1,63 @@\n+require \"rails_helper\"\n+\n+RSpec.describe UserNotifier, type: :mailer do\n+  describe 'send order confirmation email' do\n+    order = Order.new(id: 25, status: \"ordered\")\n+    user = User.new(username: \"erinna\",\n+                    first_name: \"Erinna\",\n+                    last_name: \"Chen\",\n+                    email: \"erinna.chen@gmail.com\",\n+                    orders: [order])\n+    mail = UserNotifier.send_confirmation(user)\n+\n+    it 'renders the subject' do\n+      expect(mail.subject).to eql(\"Order #25 confirmation. Thank you, Erinna Chen, for purchasing lucky charms!\")","path":"spec/mailers/user_notifier_spec.rb","position":14,"original_position":14,"commit_id":"f79dde098fd4216210ca1396cad1be89df915c64","original_commit_id":"f79dde098fd4216210ca1396cad1be89df915c64","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [113/80]","created_at":"2016-03-09T17:13:36Z","updated_at":"2016-03-09T17:13:36Z","html_url":"https://github.com/ksk5280/lucky-charms/pull/87#discussion_r55553164","pull_request_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/comments/55553164"},"html":{"href":"https://github.com/ksk5280/lucky-charms/pull/87#discussion_r55553164"},"pull_request":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87","id":62175182,"html_url":"https://github.com/ksk5280/lucky-charms/pull/87","diff_url":"https://github.com/ksk5280/lucky-charms/pull/87.diff","patch_url":"https://github.com/ksk5280/lucky-charms/pull/87.patch","issue_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/87","number":87,"state":"open","locked":false,"title":"[WIP] User gets an email when order is created and updated","user":{"login":"erinnachen","id":12789537,"avatar_url":"https://avatars.githubusercontent.com/u/12789537?v=3","gravatar_id":"","url":"https://api.github.com/users/erinnachen","html_url":"https://github.com/erinnachen","followers_url":"https://api.github.com/users/erinnachen/followers","following_url":"https://api.github.com/users/erinnachen/following{/other_user}","gists_url":"https://api.github.com/users/erinnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/erinnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinnachen/subscriptions","organizations_url":"https://api.github.com/users/erinnachen/orgs","repos_url":"https://api.github.com/users/erinnachen/repos","events_url":"https://api.github.com/users/erinnachen/events{/privacy}","received_events_url":"https://api.github.com/users/erinnachen/received_events","type":"User","site_admin":false},"body":"* Add poro OrderGenerator to create orders; closes #73 \r\n\r\nUser story:\r\n* as a logged in user with an email address\r\n* I place an item in my cart\r\n* I click on checkout\r\n* I receive an email detailing my order","created_at":"2016-03-09T03:28:35Z","updated_at":"2016-03-09T17:13:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e356ee56e2cab4c28b2eecfa66b5b9b81a5d5359","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87/commits","review_comments_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87/comments","review_comment_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/87/comments","statuses_url":"https://api.github.com/repos/ksk5280/lucky-charms/statuses/f79dde098fd4216210ca1396cad1be89df915c64","head":{"label":"ksk5280:send-emails-to-customers-#70","ref":"send-emails-to-customers-#70","sha":"f79dde098fd4216210ca1396cad1be89df915c64","user":{"login":"ksk5280","id":13193796,"avatar_url":"https://avatars.githubusercontent.com/u/13193796?v=3","gravatar_id":"","url":"https://api.github.com/users/ksk5280","html_url":"https://github.com/ksk5280","followers_url":"https://api.github.com/users/ksk5280/followers","following_url":"https://api.github.com/users/ksk5280/following{/other_user}","gists_url":"https://api.github.com/users/ksk5280/gists{/gist_id}","starred_url":"https://api.github.com/users/ksk5280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksk5280/subscriptions","organizations_url":"https://api.github.com/users/ksk5280/orgs","repos_url":"https://api.github.com/users/ksk5280/repos","events_url":"https://api.github.com/users/ksk5280/events{/privacy}","received_events_url":"https://api.github.com/users/ksk5280/received_events","type":"User","site_admin":false},"repo":{"id":52826494,"name":"lucky-charms","full_name":"ksk5280/lucky-charms","owner":{"login":"ksk5280","id":13193796,"avatar_url":"https://avatars.githubusercontent.com/u/13193796?v=3","gravatar_id":"","url":"https://api.github.com/users/ksk5280","html_url":"https://github.com/ksk5280","followers_url":"https://api.github.com/users/ksk5280/followers","following_url":"https://api.github.com/users/ksk5280/following{/other_user}","gists_url":"https://api.github.com/users/ksk5280/gists{/gist_id}","starred_url":"https://api.github.com/users/ksk5280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksk5280/subscriptions","organizations_url":"https://api.github.com/users/ksk5280/orgs","repos_url":"https://api.github.com/users/ksk5280/repos","events_url":"https://api.github.com/users/ksk5280/events{/privacy}","received_events_url":"https://api.github.com/users/ksk5280/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksk5280/lucky-charms","description":null,"fork":false,"url":"https://api.github.com/repos/ksk5280/lucky-charms","forks_url":"https://api.github.com/repos/ksk5280/lucky-charms/forks","keys_url":"https://api.github.com/repos/ksk5280/lucky-charms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksk5280/lucky-charms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksk5280/lucky-charms/teams","hooks_url":"https://api.github.com/repos/ksk5280/lucky-charms/hooks","issue_events_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/events{/number}","events_url":"https://api.github.com/repos/ksk5280/lucky-charms/events","assignees_url":"https://api.github.com/repos/ksk5280/lucky-charms/assignees{/user}","branches_url":"https://api.github.com/repos/ksk5280/lucky-charms/branches{/branch}","tags_url":"https://api.github.com/repos/ksk5280/lucky-charms/tags","blobs_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksk5280/lucky-charms/statuses/{sha}","languages_url":"https://api.github.com/repos/ksk5280/lucky-charms/languages","stargazers_url":"https://api.github.com/repos/ksk5280/lucky-charms/stargazers","contributors_url":"https://api.github.com/repos/ksk5280/lucky-charms/contributors","subscribers_url":"https://api.github.com/repos/ksk5280/lucky-charms/subscribers","subscription_url":"https://api.github.com/repos/ksk5280/lucky-charms/subscription","commits_url":"https://api.github.com/repos/ksk5280/lucky-charms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksk5280/lucky-charms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksk5280/lucky-charms/contents/{+path}","compare_url":"https://api.github.com/repos/ksk5280/lucky-charms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksk5280/lucky-charms/merges","archive_url":"https://api.github.com/repos/ksk5280/lucky-charms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksk5280/lucky-charms/downloads","issues_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues{/number}","pulls_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls{/number}","milestones_url":"https://api.github.com/repos/ksk5280/lucky-charms/milestones{/number}","notifications_url":"https://api.github.com/repos/ksk5280/lucky-charms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksk5280/lucky-charms/labels{/name}","releases_url":"https://api.github.com/repos/ksk5280/lucky-charms/releases{/id}","deployments_url":"https://api.github.com/repos/ksk5280/lucky-charms/deployments","created_at":"2016-02-29T21:35:36Z","updated_at":"2016-02-29T21:36:25Z","pushed_at":"2016-03-09T17:13:28Z","git_url":"git://github.com/ksk5280/lucky-charms.git","ssh_url":"git@github.com:ksk5280/lucky-charms.git","clone_url":"https://github.com/ksk5280/lucky-charms.git","svn_url":"https://github.com/ksk5280/lucky-charms","homepage":null,"size":5329,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":0,"default_branch":"master"}},"base":{"label":"ksk5280:master","ref":"master","sha":"151d31766ce37a0caa4b7b826f503c46ac319981","user":{"login":"ksk5280","id":13193796,"avatar_url":"https://avatars.githubusercontent.com/u/13193796?v=3","gravatar_id":"","url":"https://api.github.com/users/ksk5280","html_url":"https://github.com/ksk5280","followers_url":"https://api.github.com/users/ksk5280/followers","following_url":"https://api.github.com/users/ksk5280/following{/other_user}","gists_url":"https://api.github.com/users/ksk5280/gists{/gist_id}","starred_url":"https://api.github.com/users/ksk5280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksk5280/subscriptions","organizations_url":"https://api.github.com/users/ksk5280/orgs","repos_url":"https://api.github.com/users/ksk5280/repos","events_url":"https://api.github.com/users/ksk5280/events{/privacy}","received_events_url":"https://api.github.com/users/ksk5280/received_events","type":"User","site_admin":false},"repo":{"id":52826494,"name":"lucky-charms","full_name":"ksk5280/lucky-charms","owner":{"login":"ksk5280","id":13193796,"avatar_url":"https://avatars.githubusercontent.com/u/13193796?v=3","gravatar_id":"","url":"https://api.github.com/users/ksk5280","html_url":"https://github.com/ksk5280","followers_url":"https://api.github.com/users/ksk5280/followers","following_url":"https://api.github.com/users/ksk5280/following{/other_user}","gists_url":"https://api.github.com/users/ksk5280/gists{/gist_id}","starred_url":"https://api.github.com/users/ksk5280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksk5280/subscriptions","organizations_url":"https://api.github.com/users/ksk5280/orgs","repos_url":"https://api.github.com/users/ksk5280/repos","events_url":"https://api.github.com/users/ksk5280/events{/privacy}","received_events_url":"https://api.github.com/users/ksk5280/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksk5280/lucky-charms","description":null,"fork":false,"url":"https://api.github.com/repos/ksk5280/lucky-charms","forks_url":"https://api.github.com/repos/ksk5280/lucky-charms/forks","keys_url":"https://api.github.com/repos/ksk5280/lucky-charms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksk5280/lucky-charms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksk5280/lucky-charms/teams","hooks_url":"https://api.github.com/repos/ksk5280/lucky-charms/hooks","issue_events_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/events{/number}","events_url":"https://api.github.com/repos/ksk5280/lucky-charms/events","assignees_url":"https://api.github.com/repos/ksk5280/lucky-charms/assignees{/user}","branches_url":"https://api.github.com/repos/ksk5280/lucky-charms/branches{/branch}","tags_url":"https://api.github.com/repos/ksk5280/lucky-charms/tags","blobs_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksk5280/lucky-charms/statuses/{sha}","languages_url":"https://api.github.com/repos/ksk5280/lucky-charms/languages","stargazers_url":"https://api.github.com/repos/ksk5280/lucky-charms/stargazers","contributors_url":"https://api.github.com/repos/ksk5280/lucky-charms/contributors","subscribers_url":"https://api.github.com/repos/ksk5280/lucky-charms/subscribers","subscription_url":"https://api.github.com/repos/ksk5280/lucky-charms/subscription","commits_url":"https://api.github.com/repos/ksk5280/lucky-charms/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksk5280/lucky-charms/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksk5280/lucky-charms/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksk5280/lucky-charms/contents/{+path}","compare_url":"https://api.github.com/repos/ksk5280/lucky-charms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksk5280/lucky-charms/merges","archive_url":"https://api.github.com/repos/ksk5280/lucky-charms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksk5280/lucky-charms/downloads","issues_url":"https://api.github.com/repos/ksk5280/lucky-charms/issues{/number}","pulls_url":"https://api.github.com/repos/ksk5280/lucky-charms/pulls{/number}","milestones_url":"https://api.github.com/repos/ksk5280/lucky-charms/milestones{/number}","notifications_url":"https://api.github.com/repos/ksk5280/lucky-charms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksk5280/lucky-charms/labels{/name}","releases_url":"https://api.github.com/repos/ksk5280/lucky-charms/releases{/id}","deployments_url":"https://api.github.com/repos/ksk5280/lucky-charms/deployments","created_at":"2016-02-29T21:35:36Z","updated_at":"2016-02-29T21:36:25Z","pushed_at":"2016-03-09T17:13:28Z","git_url":"git://github.com/ksk5280/lucky-charms.git","ssh_url":"git@github.com:ksk5280/lucky-charms.git","clone_url":"https://github.com/ksk5280/lucky-charms.git","svn_url":"https://github.com/ksk5280/lucky-charms","homepage":null,"size":5329,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":30,"forks":0,"open_issues":30,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87"},"html":{"href":"https://github.com/ksk5280/lucky-charms/pull/87"},"issue":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/issues/87"},"comments":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/ksk5280/lucky-charms/statuses/f79dde098fd4216210ca1396cad1be89df915c64"}}}}