{"action":"created","comment":{"url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/comments/81377044","pull_request_review_id":2362909,"id":81377044,"diff_hunk":"@@ -151,24 +153,24 @@\n         phone: '09000000000',\n         airfare_id: 2\n       }\n-      put :update, params: { id: @my_booking.id, booking: new_booking }\n+      put(:update, params: { id: @my_booking.id, booking: new_booking })\n     end\n \n     context 'when booking update fails' do\n       it 'returns a flash error message' do\n         new_booking[:passenger_email] = 'wrong_email'\n-        put :update, params: { id: @my_booking.id, booking: new_booking }\n+        put(:update, params: { id: @my_booking.id, booking: new_booking })\n         expect(flash[:error]).to be_present\n       end\n     end\n \n     context 'when booking update is successful' do\n       it 'assigns the requested booking as @my_booking' do\n-        expect(assigns(:booking)).to eq(@my_booking)\n+        expect(assigns :booking).to eq(@my_booking)","path":"spec/controllers/bookings_controller_spec.rb","position":155,"original_position":155,"commit_id":"2451156c3f0ecc006e9753008a9b481153af5dbd","original_commit_id":"2451156c3f0ecc006e9753008a9b481153af5dbd","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":"Add parentheses to nested method call assigns :booking.","created_at":"2016-09-30T16:57:27Z","updated_at":"2016-09-30T16:57:27Z","html_url":"https://github.com/andela-cnwosu/kuruka/pull/5#discussion_r81377044","pull_request_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/comments/81377044"},"html":{"href":"https://github.com/andela-cnwosu/kuruka/pull/5#discussion_r81377044"},"pull_request":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5","id":87529540,"html_url":"https://github.com/andela-cnwosu/kuruka/pull/5","diff_url":"https://github.com/andela-cnwosu/kuruka/pull/5.diff","patch_url":"https://github.com/andela-cnwosu/kuruka/pull/5.patch","issue_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/5","number":5,"state":"open","locked":false,"title":"Checkpoint 2 Review for Consistent Use of Parenthesis","user":{"login":"andela-cnwosu","id":20643330,"avatar_url":"https://avatars.githubusercontent.com/u/20643330?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cnwosu","html_url":"https://github.com/andela-cnwosu","followers_url":"https://api.github.com/users/andela-cnwosu/followers","following_url":"https://api.github.com/users/andela-cnwosu/following{/other_user}","gists_url":"https://api.github.com/users/andela-cnwosu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cnwosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cnwosu/subscriptions","organizations_url":"https://api.github.com/users/andela-cnwosu/orgs","repos_url":"https://api.github.com/users/andela-cnwosu/repos","events_url":"https://api.github.com/users/andela-cnwosu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cnwosu/received_events","type":"User","site_admin":false},"body":"### Description\r\nAll files were checked for inconsistency in using parenthesis in method calls where appropriate. Statements like 'Flight.find_by email: email' were refactored to 'Flight.find_by(email: email)' for readability.","created_at":"2016-09-30T16:57:13Z","updated_at":"2016-09-30T16:57:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"708186c682263afc723bca1d4c4152c7b090929a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/5/comments","statuses_url":"https://api.github.com/repos/andela-cnwosu/kuruka/statuses/2451156c3f0ecc006e9753008a9b481153af5dbd","head":{"label":"andela-cnwosu:develop","ref":"develop","sha":"2451156c3f0ecc006e9753008a9b481153af5dbd","user":{"login":"andela-cnwosu","id":20643330,"avatar_url":"https://avatars.githubusercontent.com/u/20643330?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cnwosu","html_url":"https://github.com/andela-cnwosu","followers_url":"https://api.github.com/users/andela-cnwosu/followers","following_url":"https://api.github.com/users/andela-cnwosu/following{/other_user}","gists_url":"https://api.github.com/users/andela-cnwosu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cnwosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cnwosu/subscriptions","organizations_url":"https://api.github.com/users/andela-cnwosu/orgs","repos_url":"https://api.github.com/users/andela-cnwosu/repos","events_url":"https://api.github.com/users/andela-cnwosu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cnwosu/received_events","type":"User","site_admin":false},"repo":{"id":66487626,"name":"kuruka","full_name":"andela-cnwosu/kuruka","owner":{"login":"andela-cnwosu","id":20643330,"avatar_url":"https://avatars.githubusercontent.com/u/20643330?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cnwosu","html_url":"https://github.com/andela-cnwosu","followers_url":"https://api.github.com/users/andela-cnwosu/followers","following_url":"https://api.github.com/users/andela-cnwosu/following{/other_user}","gists_url":"https://api.github.com/users/andela-cnwosu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cnwosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cnwosu/subscriptions","organizations_url":"https://api.github.com/users/andela-cnwosu/orgs","repos_url":"https://api.github.com/users/andela-cnwosu/repos","events_url":"https://api.github.com/users/andela-cnwosu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cnwosu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-cnwosu/kuruka","description":null,"fork":false,"url":"https://api.github.com/repos/andela-cnwosu/kuruka","forks_url":"https://api.github.com/repos/andela-cnwosu/kuruka/forks","keys_url":"https://api.github.com/repos/andela-cnwosu/kuruka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-cnwosu/kuruka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-cnwosu/kuruka/teams","hooks_url":"https://api.github.com/repos/andela-cnwosu/kuruka/hooks","issue_events_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/events{/number}","events_url":"https://api.github.com/repos/andela-cnwosu/kuruka/events","assignees_url":"https://api.github.com/repos/andela-cnwosu/kuruka/assignees{/user}","branches_url":"https://api.github.com/repos/andela-cnwosu/kuruka/branches{/branch}","tags_url":"https://api.github.com/repos/andela-cnwosu/kuruka/tags","blobs_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-cnwosu/kuruka/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-cnwosu/kuruka/languages","stargazers_url":"https://api.github.com/repos/andela-cnwosu/kuruka/stargazers","contributors_url":"https://api.github.com/repos/andela-cnwosu/kuruka/contributors","subscribers_url":"https://api.github.com/repos/andela-cnwosu/kuruka/subscribers","subscription_url":"https://api.github.com/repos/andela-cnwosu/kuruka/subscription","commits_url":"https://api.github.com/repos/andela-cnwosu/kuruka/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-cnwosu/kuruka/contents/{+path}","compare_url":"https://api.github.com/repos/andela-cnwosu/kuruka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-cnwosu/kuruka/merges","archive_url":"https://api.github.com/repos/andela-cnwosu/kuruka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-cnwosu/kuruka/downloads","issues_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues{/number}","pulls_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-cnwosu/kuruka/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-cnwosu/kuruka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-cnwosu/kuruka/labels{/name}","releases_url":"https://api.github.com/repos/andela-cnwosu/kuruka/releases{/id}","deployments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/deployments","created_at":"2016-08-24T18:05:58Z","updated_at":"2016-09-29T23:36:14Z","pushed_at":"2016-09-30T16:57:13Z","git_url":"git://github.com/andela-cnwosu/kuruka.git","ssh_url":"git@github.com:andela-cnwosu/kuruka.git","clone_url":"https://github.com/andela-cnwosu/kuruka.git","svn_url":"https://github.com/andela-cnwosu/kuruka","homepage":null,"size":2999,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"master"}},"base":{"label":"andela-cnwosu:master","ref":"master","sha":"e65e0a8a9be3173df72d50e13e2537fcfe1f95fb","user":{"login":"andela-cnwosu","id":20643330,"avatar_url":"https://avatars.githubusercontent.com/u/20643330?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cnwosu","html_url":"https://github.com/andela-cnwosu","followers_url":"https://api.github.com/users/andela-cnwosu/followers","following_url":"https://api.github.com/users/andela-cnwosu/following{/other_user}","gists_url":"https://api.github.com/users/andela-cnwosu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cnwosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cnwosu/subscriptions","organizations_url":"https://api.github.com/users/andela-cnwosu/orgs","repos_url":"https://api.github.com/users/andela-cnwosu/repos","events_url":"https://api.github.com/users/andela-cnwosu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cnwosu/received_events","type":"User","site_admin":false},"repo":{"id":66487626,"name":"kuruka","full_name":"andela-cnwosu/kuruka","owner":{"login":"andela-cnwosu","id":20643330,"avatar_url":"https://avatars.githubusercontent.com/u/20643330?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cnwosu","html_url":"https://github.com/andela-cnwosu","followers_url":"https://api.github.com/users/andela-cnwosu/followers","following_url":"https://api.github.com/users/andela-cnwosu/following{/other_user}","gists_url":"https://api.github.com/users/andela-cnwosu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cnwosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cnwosu/subscriptions","organizations_url":"https://api.github.com/users/andela-cnwosu/orgs","repos_url":"https://api.github.com/users/andela-cnwosu/repos","events_url":"https://api.github.com/users/andela-cnwosu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cnwosu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-cnwosu/kuruka","description":null,"fork":false,"url":"https://api.github.com/repos/andela-cnwosu/kuruka","forks_url":"https://api.github.com/repos/andela-cnwosu/kuruka/forks","keys_url":"https://api.github.com/repos/andela-cnwosu/kuruka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-cnwosu/kuruka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-cnwosu/kuruka/teams","hooks_url":"https://api.github.com/repos/andela-cnwosu/kuruka/hooks","issue_events_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/events{/number}","events_url":"https://api.github.com/repos/andela-cnwosu/kuruka/events","assignees_url":"https://api.github.com/repos/andela-cnwosu/kuruka/assignees{/user}","branches_url":"https://api.github.com/repos/andela-cnwosu/kuruka/branches{/branch}","tags_url":"https://api.github.com/repos/andela-cnwosu/kuruka/tags","blobs_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-cnwosu/kuruka/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-cnwosu/kuruka/languages","stargazers_url":"https://api.github.com/repos/andela-cnwosu/kuruka/stargazers","contributors_url":"https://api.github.com/repos/andela-cnwosu/kuruka/contributors","subscribers_url":"https://api.github.com/repos/andela-cnwosu/kuruka/subscribers","subscription_url":"https://api.github.com/repos/andela-cnwosu/kuruka/subscription","commits_url":"https://api.github.com/repos/andela-cnwosu/kuruka/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-cnwosu/kuruka/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-cnwosu/kuruka/contents/{+path}","compare_url":"https://api.github.com/repos/andela-cnwosu/kuruka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-cnwosu/kuruka/merges","archive_url":"https://api.github.com/repos/andela-cnwosu/kuruka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-cnwosu/kuruka/downloads","issues_url":"https://api.github.com/repos/andela-cnwosu/kuruka/issues{/number}","pulls_url":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-cnwosu/kuruka/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-cnwosu/kuruka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-cnwosu/kuruka/labels{/name}","releases_url":"https://api.github.com/repos/andela-cnwosu/kuruka/releases{/id}","deployments_url":"https://api.github.com/repos/andela-cnwosu/kuruka/deployments","created_at":"2016-08-24T18:05:58Z","updated_at":"2016-09-29T23:36:14Z","pushed_at":"2016-09-30T16:57:13Z","git_url":"git://github.com/andela-cnwosu/kuruka.git","ssh_url":"git@github.com:andela-cnwosu/kuruka.git","clone_url":"https://github.com/andela-cnwosu/kuruka.git","svn_url":"https://github.com/andela-cnwosu/kuruka","homepage":null,"size":2999,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5"},"html":{"href":"https://github.com/andela-cnwosu/kuruka/pull/5"},"issue":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/5"},"comments":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andela-cnwosu/kuruka/statuses/2451156c3f0ecc006e9753008a9b481153af5dbd"}}}}
{"actor":{"display_login":"houndci-bot"}}