{"action":"created","comment":{"url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/comments/88201534","pull_request_review_id":8780848,"id":88201534,"diff_hunk":"@@ -0,0 +1,22 @@\n+module Helpers\n+  def stub_current_user(user)\n+    allow_any_instance_of(ApplicationController).to receive(\n+      :current_user\n+    ).and_return(user)\n+  end\n+\n+  def login_with(email, password)\n+    visit login_path\n+    fill_in \"email\", with: email\n+    fill_in \"password\", with: password\n+    click_on \"Login\"\n+  end\n+\n+  def search_flights(origin, destination, date)\n+    visit root_path\n+    select origin, from: \"originSelect\"\n+    select destination, from: \"destinationSelect\"\n+    fill_in \"date\", with: date\n+    click_button \"search\"","path":"spec/support/helpers.rb","position":20,"original_position":20,"commit_id":"fd75b142da98ad29f3e54c4e2e886590e5d51ad5","original_commit_id":"fd75b142da98ad29f3e54c4e2e886590e5d51ad5","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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-11-16T09:50:40Z","updated_at":"2016-11-16T09:50:40Z","html_url":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1#discussion_r88201534","pull_request_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/comments/88201534"},"html":{"href":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1#discussion_r88201534"},"pull_request":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1","id":93288313,"html_url":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1","diff_url":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1.diff","patch_url":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1.patch","issue_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/1","number":1,"state":"open","locked":false,"title":"Checkpoint Review","user":{"login":"andela-vkironde","id":22389591,"avatar_url":"https://avatars.githubusercontent.com/u/22389591?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vkironde","html_url":"https://github.com/andela-vkironde","followers_url":"https://api.github.com/users/andela-vkironde/followers","following_url":"https://api.github.com/users/andela-vkironde/following{/other_user}","gists_url":"https://api.github.com/users/andela-vkironde/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vkironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vkironde/subscriptions","organizations_url":"https://api.github.com/users/andela-vkironde/orgs","repos_url":"https://api.github.com/users/andela-vkironde/repos","events_url":"https://api.github.com/users/andela-vkironde/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vkironde/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-11T07:02:27Z","updated_at":"2016-11-16T09:50:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f34f7f65e79b8bf399cd64fd4a2d082005aa777","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/1/comments","statuses_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/statuses/fd75b142da98ad29f3e54c4e2e886590e5d51ad5","head":{"label":"andela-vkironde:develop","ref":"develop","sha":"fd75b142da98ad29f3e54c4e2e886590e5d51ad5","user":{"login":"andela-vkironde","id":22389591,"avatar_url":"https://avatars.githubusercontent.com/u/22389591?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vkironde","html_url":"https://github.com/andela-vkironde","followers_url":"https://api.github.com/users/andela-vkironde/followers","following_url":"https://api.github.com/users/andela-vkironde/following{/other_user}","gists_url":"https://api.github.com/users/andela-vkironde/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vkironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vkironde/subscriptions","organizations_url":"https://api.github.com/users/andela-vkironde/orgs","repos_url":"https://api.github.com/users/andela-vkironde/repos","events_url":"https://api.github.com/users/andela-vkironde/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vkironde/received_events","type":"User","site_admin":false},"repo":{"id":70918610,"name":"checkpoint-2-fly","full_name":"andela-vkironde/checkpoint-2-fly","owner":{"login":"andela-vkironde","id":22389591,"avatar_url":"https://avatars.githubusercontent.com/u/22389591?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vkironde","html_url":"https://github.com/andela-vkironde","followers_url":"https://api.github.com/users/andela-vkironde/followers","following_url":"https://api.github.com/users/andela-vkironde/following{/other_user}","gists_url":"https://api.github.com/users/andela-vkironde/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vkironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vkironde/subscriptions","organizations_url":"https://api.github.com/users/andela-vkironde/orgs","repos_url":"https://api.github.com/users/andela-vkironde/repos","events_url":"https://api.github.com/users/andela-vkironde/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vkironde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-vkironde/checkpoint-2-fly","description":null,"fork":false,"url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly","forks_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/forks","keys_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/teams","hooks_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/hooks","issue_events_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/events","assignees_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/tags","blobs_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/languages","stargazers_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/stargazers","contributors_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/contributors","subscribers_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/subscribers","subscription_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/subscription","commits_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/merges","archive_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/downloads","issues_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/labels{/name}","releases_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/releases{/id}","deployments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/deployments","created_at":"2016-10-14T14:39:00Z","updated_at":"2016-10-17T15:36:51Z","pushed_at":"2016-11-16T09:50:12Z","git_url":"git://github.com/andela-vkironde/checkpoint-2-fly.git","ssh_url":"git@github.com:andela-vkironde/checkpoint-2-fly.git","clone_url":"https://github.com/andela-vkironde/checkpoint-2-fly.git","svn_url":"https://github.com/andela-vkironde/checkpoint-2-fly","homepage":null,"size":408,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela-vkironde:master","ref":"master","sha":"01c872a77f65814f6346bb22f58c83e4c38eb45e","user":{"login":"andela-vkironde","id":22389591,"avatar_url":"https://avatars.githubusercontent.com/u/22389591?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vkironde","html_url":"https://github.com/andela-vkironde","followers_url":"https://api.github.com/users/andela-vkironde/followers","following_url":"https://api.github.com/users/andela-vkironde/following{/other_user}","gists_url":"https://api.github.com/users/andela-vkironde/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vkironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vkironde/subscriptions","organizations_url":"https://api.github.com/users/andela-vkironde/orgs","repos_url":"https://api.github.com/users/andela-vkironde/repos","events_url":"https://api.github.com/users/andela-vkironde/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vkironde/received_events","type":"User","site_admin":false},"repo":{"id":70918610,"name":"checkpoint-2-fly","full_name":"andela-vkironde/checkpoint-2-fly","owner":{"login":"andela-vkironde","id":22389591,"avatar_url":"https://avatars.githubusercontent.com/u/22389591?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-vkironde","html_url":"https://github.com/andela-vkironde","followers_url":"https://api.github.com/users/andela-vkironde/followers","following_url":"https://api.github.com/users/andela-vkironde/following{/other_user}","gists_url":"https://api.github.com/users/andela-vkironde/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-vkironde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-vkironde/subscriptions","organizations_url":"https://api.github.com/users/andela-vkironde/orgs","repos_url":"https://api.github.com/users/andela-vkironde/repos","events_url":"https://api.github.com/users/andela-vkironde/events{/privacy}","received_events_url":"https://api.github.com/users/andela-vkironde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-vkironde/checkpoint-2-fly","description":null,"fork":false,"url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly","forks_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/forks","keys_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/teams","hooks_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/hooks","issue_events_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/events{/number}","events_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/events","assignees_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/assignees{/user}","branches_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/branches{/branch}","tags_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/tags","blobs_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/languages","stargazers_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/stargazers","contributors_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/contributors","subscribers_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/subscribers","subscription_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/subscription","commits_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/contents/{+path}","compare_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/merges","archive_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/downloads","issues_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues{/number}","pulls_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/labels{/name}","releases_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/releases{/id}","deployments_url":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/deployments","created_at":"2016-10-14T14:39:00Z","updated_at":"2016-10-17T15:36:51Z","pushed_at":"2016-11-16T09:50:12Z","git_url":"git://github.com/andela-vkironde/checkpoint-2-fly.git","ssh_url":"git@github.com:andela-vkironde/checkpoint-2-fly.git","clone_url":"https://github.com/andela-vkironde/checkpoint-2-fly.git","svn_url":"https://github.com/andela-vkironde/checkpoint-2-fly","homepage":null,"size":408,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1"},"html":{"href":"https://github.com/andela-vkironde/checkpoint-2-fly/pull/1"},"issue":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/1"},"comments":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela-vkironde/checkpoint-2-fly/statuses/fd75b142da98ad29f3e54c4e2e886590e5d51ad5"}}}}
{"actor":{"display_login":"houndci-bot"}}