{"action":"created","comment":{"url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/comments/44708179","id":44708179,"diff_hunk":"@@ -1,5 +1,51 @@\n require \"rails_helper\"\n \n RSpec.describe UserMailer, type: :mailer do\n-  pending \"add some examples to (or delete) #{__FILE__}\"\n+  before(:each) do\n+    ActionMailer::Base.perform_deliveries = true\n+    ActionMailer::Base.deliveries = []\n+    FactoryGirl.create(:flight)\n+    @booking = FactoryGirl.create(:booking_with_passengers)\n+    @user = FactoryGirl.create(:user)\n+  end\n+  after(:each) do\n+    ActionMailer::Base.deliveries.clear\n+  end\n+  let(:mail) { UserMailer.confirmation_email(@user, @booking) }\n+  let(:mail2) { UserMailer.update_email(@user, @booking)}","path":"spec/mailers/user_mailer_spec.rb","position":16,"original_position":16,"commit_id":"456b792fe1a7a4662cb4d4660264b2a9aef02def","original_commit_id":"456b792fe1a7a4662cb4d4660264b2a9aef02def","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space missing inside }.","created_at":"2015-11-12T20:12:19Z","updated_at":"2015-11-12T20:12:19Z","html_url":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9#discussion_r44708179","pull_request_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/comments/44708179"},"html":{"href":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9#discussion_r44708179"},"pull_request":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9","id":50561209,"html_url":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9","diff_url":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9.diff","patch_url":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9.patch","issue_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/9","number":9,"state":"open","locked":false,"title":"Increased Test coverage.","user":{"login":"andela-bebowe","id":10234875,"avatar_url":"https://avatars.githubusercontent.com/u/10234875?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bebowe","html_url":"https://github.com/andela-bebowe","followers_url":"https://api.github.com/users/andela-bebowe/followers","following_url":"https://api.github.com/users/andela-bebowe/following{/other_user}","gists_url":"https://api.github.com/users/andela-bebowe/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bebowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bebowe/subscriptions","organizations_url":"https://api.github.com/users/andela-bebowe/orgs","repos_url":"https://api.github.com/users/andela-bebowe/repos","events_url":"https://api.github.com/users/andela-bebowe/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bebowe/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T20:12:05Z","updated_at":"2015-11-12T20:12:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fc0b277860b5df82823aa0744c7710d3247dbc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9/commits","review_comments_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9/comments","review_comment_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/9/comments","statuses_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/statuses/456b792fe1a7a4662cb4d4660264b2a9aef02def","head":{"label":"andela-bebowe:test","ref":"test","sha":"456b792fe1a7a4662cb4d4660264b2a9aef02def","user":{"login":"andela-bebowe","id":10234875,"avatar_url":"https://avatars.githubusercontent.com/u/10234875?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bebowe","html_url":"https://github.com/andela-bebowe","followers_url":"https://api.github.com/users/andela-bebowe/followers","following_url":"https://api.github.com/users/andela-bebowe/following{/other_user}","gists_url":"https://api.github.com/users/andela-bebowe/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bebowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bebowe/subscriptions","organizations_url":"https://api.github.com/users/andela-bebowe/orgs","repos_url":"https://api.github.com/users/andela-bebowe/repos","events_url":"https://api.github.com/users/andela-bebowe/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bebowe/received_events","type":"User","site_admin":false},"repo":{"id":45092754,"name":"eaglesflight_reloaded","full_name":"andela-bebowe/eaglesflight_reloaded","owner":{"login":"andela-bebowe","id":10234875,"avatar_url":"https://avatars.githubusercontent.com/u/10234875?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bebowe","html_url":"https://github.com/andela-bebowe","followers_url":"https://api.github.com/users/andela-bebowe/followers","following_url":"https://api.github.com/users/andela-bebowe/following{/other_user}","gists_url":"https://api.github.com/users/andela-bebowe/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bebowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bebowe/subscriptions","organizations_url":"https://api.github.com/users/andela-bebowe/orgs","repos_url":"https://api.github.com/users/andela-bebowe/repos","events_url":"https://api.github.com/users/andela-bebowe/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bebowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-bebowe/eaglesflight_reloaded","description":"Flight booking made easy.","fork":false,"url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded","forks_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/forks","keys_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/teams","hooks_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/hooks","issue_events_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/events{/number}","events_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/events","assignees_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/assignees{/user}","branches_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/branches{/branch}","tags_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/tags","blobs_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/languages","stargazers_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/stargazers","contributors_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/contributors","subscribers_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/subscribers","subscription_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/subscription","commits_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/contents/{+path}","compare_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/merges","archive_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/downloads","issues_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues{/number}","pulls_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/labels{/name}","releases_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/releases{/id}","created_at":"2015-10-28T06:13:21Z","updated_at":"2015-11-05T17:17:00Z","pushed_at":"2015-11-12T20:12:06Z","git_url":"git://github.com/andela-bebowe/eaglesflight_reloaded.git","ssh_url":"git@github.com:andela-bebowe/eaglesflight_reloaded.git","clone_url":"https://github.com/andela-bebowe/eaglesflight_reloaded.git","svn_url":"https://github.com/andela-bebowe/eaglesflight_reloaded","homepage":null,"size":396,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"andela-bebowe:master","ref":"master","sha":"8936b9d89a73b2016bfc07ff2e6a8736cd6dc61b","user":{"login":"andela-bebowe","id":10234875,"avatar_url":"https://avatars.githubusercontent.com/u/10234875?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bebowe","html_url":"https://github.com/andela-bebowe","followers_url":"https://api.github.com/users/andela-bebowe/followers","following_url":"https://api.github.com/users/andela-bebowe/following{/other_user}","gists_url":"https://api.github.com/users/andela-bebowe/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bebowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bebowe/subscriptions","organizations_url":"https://api.github.com/users/andela-bebowe/orgs","repos_url":"https://api.github.com/users/andela-bebowe/repos","events_url":"https://api.github.com/users/andela-bebowe/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bebowe/received_events","type":"User","site_admin":false},"repo":{"id":45092754,"name":"eaglesflight_reloaded","full_name":"andela-bebowe/eaglesflight_reloaded","owner":{"login":"andela-bebowe","id":10234875,"avatar_url":"https://avatars.githubusercontent.com/u/10234875?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-bebowe","html_url":"https://github.com/andela-bebowe","followers_url":"https://api.github.com/users/andela-bebowe/followers","following_url":"https://api.github.com/users/andela-bebowe/following{/other_user}","gists_url":"https://api.github.com/users/andela-bebowe/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-bebowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-bebowe/subscriptions","organizations_url":"https://api.github.com/users/andela-bebowe/orgs","repos_url":"https://api.github.com/users/andela-bebowe/repos","events_url":"https://api.github.com/users/andela-bebowe/events{/privacy}","received_events_url":"https://api.github.com/users/andela-bebowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-bebowe/eaglesflight_reloaded","description":"Flight booking made easy.","fork":false,"url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded","forks_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/forks","keys_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/teams","hooks_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/hooks","issue_events_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/events{/number}","events_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/events","assignees_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/assignees{/user}","branches_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/branches{/branch}","tags_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/tags","blobs_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/languages","stargazers_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/stargazers","contributors_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/contributors","subscribers_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/subscribers","subscription_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/subscription","commits_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/contents/{+path}","compare_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/merges","archive_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/downloads","issues_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues{/number}","pulls_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/labels{/name}","releases_url":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/releases{/id}","created_at":"2015-10-28T06:13:21Z","updated_at":"2015-11-05T17:17:00Z","pushed_at":"2015-11-12T20:12:06Z","git_url":"git://github.com/andela-bebowe/eaglesflight_reloaded.git","ssh_url":"git@github.com:andela-bebowe/eaglesflight_reloaded.git","clone_url":"https://github.com/andela-bebowe/eaglesflight_reloaded.git","svn_url":"https://github.com/andela-bebowe/eaglesflight_reloaded","homepage":null,"size":396,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9"},"html":{"href":"https://github.com/andela-bebowe/eaglesflight_reloaded/pull/9"},"issue":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/9"},"comments":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/andela-bebowe/eaglesflight_reloaded/statuses/456b792fe1a7a4662cb4d4660264b2a9aef02def"}}}}