{"action":"created","comment":{"url":"https://api.github.com/repos/sic-f/flight-booker/pulls/comments/94970384","pull_request_review_id":15515129,"id":94970384,"diff_hunk":"@@ -19,4 +19,21 @@\n       flight.formatted_flight_dates\n     end\n   end\n+\n+  describe 'flight description' do\n+    let(:flight) { create :flight }\n+    it 'describes flight' do\n+      expect(flight.description).to include 'From LAX to'\n+    end\n+  end\n+\n+  describe '::search' do\n+    let(:flight) { create :flight }\n+    it 'calls ::where on Flight' do\n+      ActionController::Parameters.permit_all_parameters = true\n+      parameters = ActionController::Parameters.new( search: {start: flight.start, from_airport_id: flight.from_airport.to_param, to_airport_id: flight.to_airport.to_param})","path":"spec/models/flight_spec.rb","position":16,"original_position":16,"commit_id":"159414bc35438cd55ec6211b0aae616cfced4e39","original_commit_id":"159414bc35438cd55ec6211b0aae616cfced4e39","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":"Space inside parentheses detected.<br>Space inside { missing.<br>Line is too long. [173/80]<br>Space inside } missing.","created_at":"2017-01-06T16:14:04Z","updated_at":"2017-01-06T16:14:04Z","html_url":"https://github.com/sic-f/flight-booker/pull/2#discussion_r94970384","pull_request_url":"https://api.github.com/repos/sic-f/flight-booker/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/sic-f/flight-booker/pulls/comments/94970384"},"html":{"href":"https://github.com/sic-f/flight-booker/pull/2#discussion_r94970384"},"pull_request":{"href":"https://api.github.com/repos/sic-f/flight-booker/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/sic-f/flight-booker/pulls/2","id":100482573,"html_url":"https://github.com/sic-f/flight-booker/pull/2","diff_url":"https://github.com/sic-f/flight-booker/pull/2.diff","patch_url":"https://github.com/sic-f/flight-booker/pull/2.patch","issue_url":"https://api.github.com/repos/sic-f/flight-booker/issues/2","number":2,"state":"open","locked":false,"title":"[WIP] Pick a flight","user":{"login":"sic-f","id":17798988,"avatar_url":"https://avatars.githubusercontent.com/u/17798988?v=3","gravatar_id":"","url":"https://api.github.com/users/sic-f","html_url":"https://github.com/sic-f","followers_url":"https://api.github.com/users/sic-f/followers","following_url":"https://api.github.com/users/sic-f/following{/other_user}","gists_url":"https://api.github.com/users/sic-f/gists{/gist_id}","starred_url":"https://api.github.com/users/sic-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sic-f/subscriptions","organizations_url":"https://api.github.com/users/sic-f/orgs","repos_url":"https://api.github.com/users/sic-f/repos","events_url":"https://api.github.com/users/sic-f/events{/privacy}","received_events_url":"https://api.github.com/users/sic-f/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-06T16:13:46Z","updated_at":"2017-01-06T16:14:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7a810834468e19bc1c5aa7aa59bdb5c4c55a10f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sic-f/flight-booker/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sic-f/flight-booker/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sic-f/flight-booker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sic-f/flight-booker/issues/2/comments","statuses_url":"https://api.github.com/repos/sic-f/flight-booker/statuses/159414bc35438cd55ec6211b0aae616cfced4e39","head":{"label":"sic-f:pick-a-flight","ref":"pick-a-flight","sha":"159414bc35438cd55ec6211b0aae616cfced4e39","user":{"login":"sic-f","id":17798988,"avatar_url":"https://avatars.githubusercontent.com/u/17798988?v=3","gravatar_id":"","url":"https://api.github.com/users/sic-f","html_url":"https://github.com/sic-f","followers_url":"https://api.github.com/users/sic-f/followers","following_url":"https://api.github.com/users/sic-f/following{/other_user}","gists_url":"https://api.github.com/users/sic-f/gists{/gist_id}","starred_url":"https://api.github.com/users/sic-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sic-f/subscriptions","organizations_url":"https://api.github.com/users/sic-f/orgs","repos_url":"https://api.github.com/users/sic-f/repos","events_url":"https://api.github.com/users/sic-f/events{/privacy}","received_events_url":"https://api.github.com/users/sic-f/received_events","type":"User","site_admin":false},"repo":{"id":77647481,"name":"flight-booker","full_name":"sic-f/flight-booker","owner":{"login":"sic-f","id":17798988,"avatar_url":"https://avatars.githubusercontent.com/u/17798988?v=3","gravatar_id":"","url":"https://api.github.com/users/sic-f","html_url":"https://github.com/sic-f","followers_url":"https://api.github.com/users/sic-f/followers","following_url":"https://api.github.com/users/sic-f/following{/other_user}","gists_url":"https://api.github.com/users/sic-f/gists{/gist_id}","starred_url":"https://api.github.com/users/sic-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sic-f/subscriptions","organizations_url":"https://api.github.com/users/sic-f/orgs","repos_url":"https://api.github.com/users/sic-f/repos","events_url":"https://api.github.com/users/sic-f/events{/privacy}","received_events_url":"https://api.github.com/users/sic-f/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sic-f/flight-booker","description":null,"fork":false,"url":"https://api.github.com/repos/sic-f/flight-booker","forks_url":"https://api.github.com/repos/sic-f/flight-booker/forks","keys_url":"https://api.github.com/repos/sic-f/flight-booker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sic-f/flight-booker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sic-f/flight-booker/teams","hooks_url":"https://api.github.com/repos/sic-f/flight-booker/hooks","issue_events_url":"https://api.github.com/repos/sic-f/flight-booker/issues/events{/number}","events_url":"https://api.github.com/repos/sic-f/flight-booker/events","assignees_url":"https://api.github.com/repos/sic-f/flight-booker/assignees{/user}","branches_url":"https://api.github.com/repos/sic-f/flight-booker/branches{/branch}","tags_url":"https://api.github.com/repos/sic-f/flight-booker/tags","blobs_url":"https://api.github.com/repos/sic-f/flight-booker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sic-f/flight-booker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sic-f/flight-booker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sic-f/flight-booker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sic-f/flight-booker/statuses/{sha}","languages_url":"https://api.github.com/repos/sic-f/flight-booker/languages","stargazers_url":"https://api.github.com/repos/sic-f/flight-booker/stargazers","contributors_url":"https://api.github.com/repos/sic-f/flight-booker/contributors","subscribers_url":"https://api.github.com/repos/sic-f/flight-booker/subscribers","subscription_url":"https://api.github.com/repos/sic-f/flight-booker/subscription","commits_url":"https://api.github.com/repos/sic-f/flight-booker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sic-f/flight-booker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sic-f/flight-booker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sic-f/flight-booker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sic-f/flight-booker/contents/{+path}","compare_url":"https://api.github.com/repos/sic-f/flight-booker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sic-f/flight-booker/merges","archive_url":"https://api.github.com/repos/sic-f/flight-booker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sic-f/flight-booker/downloads","issues_url":"https://api.github.com/repos/sic-f/flight-booker/issues{/number}","pulls_url":"https://api.github.com/repos/sic-f/flight-booker/pulls{/number}","milestones_url":"https://api.github.com/repos/sic-f/flight-booker/milestones{/number}","notifications_url":"https://api.github.com/repos/sic-f/flight-booker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sic-f/flight-booker/labels{/name}","releases_url":"https://api.github.com/repos/sic-f/flight-booker/releases{/id}","deployments_url":"https://api.github.com/repos/sic-f/flight-booker/deployments","created_at":"2016-12-30T00:08:12Z","updated_at":"2016-12-30T00:16:28Z","pushed_at":"2017-01-06T16:13:46Z","git_url":"git://github.com/sic-f/flight-booker.git","ssh_url":"git@github.com:sic-f/flight-booker.git","clone_url":"https://github.com/sic-f/flight-booker.git","svn_url":"https://github.com/sic-f/flight-booker","homepage":null,"size":50,"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":"sic-f:develop","ref":"develop","sha":"3350a097098d4cd2e133d7f8e4838237b99d17c7","user":{"login":"sic-f","id":17798988,"avatar_url":"https://avatars.githubusercontent.com/u/17798988?v=3","gravatar_id":"","url":"https://api.github.com/users/sic-f","html_url":"https://github.com/sic-f","followers_url":"https://api.github.com/users/sic-f/followers","following_url":"https://api.github.com/users/sic-f/following{/other_user}","gists_url":"https://api.github.com/users/sic-f/gists{/gist_id}","starred_url":"https://api.github.com/users/sic-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sic-f/subscriptions","organizations_url":"https://api.github.com/users/sic-f/orgs","repos_url":"https://api.github.com/users/sic-f/repos","events_url":"https://api.github.com/users/sic-f/events{/privacy}","received_events_url":"https://api.github.com/users/sic-f/received_events","type":"User","site_admin":false},"repo":{"id":77647481,"name":"flight-booker","full_name":"sic-f/flight-booker","owner":{"login":"sic-f","id":17798988,"avatar_url":"https://avatars.githubusercontent.com/u/17798988?v=3","gravatar_id":"","url":"https://api.github.com/users/sic-f","html_url":"https://github.com/sic-f","followers_url":"https://api.github.com/users/sic-f/followers","following_url":"https://api.github.com/users/sic-f/following{/other_user}","gists_url":"https://api.github.com/users/sic-f/gists{/gist_id}","starred_url":"https://api.github.com/users/sic-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sic-f/subscriptions","organizations_url":"https://api.github.com/users/sic-f/orgs","repos_url":"https://api.github.com/users/sic-f/repos","events_url":"https://api.github.com/users/sic-f/events{/privacy}","received_events_url":"https://api.github.com/users/sic-f/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sic-f/flight-booker","description":null,"fork":false,"url":"https://api.github.com/repos/sic-f/flight-booker","forks_url":"https://api.github.com/repos/sic-f/flight-booker/forks","keys_url":"https://api.github.com/repos/sic-f/flight-booker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sic-f/flight-booker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sic-f/flight-booker/teams","hooks_url":"https://api.github.com/repos/sic-f/flight-booker/hooks","issue_events_url":"https://api.github.com/repos/sic-f/flight-booker/issues/events{/number}","events_url":"https://api.github.com/repos/sic-f/flight-booker/events","assignees_url":"https://api.github.com/repos/sic-f/flight-booker/assignees{/user}","branches_url":"https://api.github.com/repos/sic-f/flight-booker/branches{/branch}","tags_url":"https://api.github.com/repos/sic-f/flight-booker/tags","blobs_url":"https://api.github.com/repos/sic-f/flight-booker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sic-f/flight-booker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sic-f/flight-booker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sic-f/flight-booker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sic-f/flight-booker/statuses/{sha}","languages_url":"https://api.github.com/repos/sic-f/flight-booker/languages","stargazers_url":"https://api.github.com/repos/sic-f/flight-booker/stargazers","contributors_url":"https://api.github.com/repos/sic-f/flight-booker/contributors","subscribers_url":"https://api.github.com/repos/sic-f/flight-booker/subscribers","subscription_url":"https://api.github.com/repos/sic-f/flight-booker/subscription","commits_url":"https://api.github.com/repos/sic-f/flight-booker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sic-f/flight-booker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sic-f/flight-booker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sic-f/flight-booker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sic-f/flight-booker/contents/{+path}","compare_url":"https://api.github.com/repos/sic-f/flight-booker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sic-f/flight-booker/merges","archive_url":"https://api.github.com/repos/sic-f/flight-booker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sic-f/flight-booker/downloads","issues_url":"https://api.github.com/repos/sic-f/flight-booker/issues{/number}","pulls_url":"https://api.github.com/repos/sic-f/flight-booker/pulls{/number}","milestones_url":"https://api.github.com/repos/sic-f/flight-booker/milestones{/number}","notifications_url":"https://api.github.com/repos/sic-f/flight-booker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sic-f/flight-booker/labels{/name}","releases_url":"https://api.github.com/repos/sic-f/flight-booker/releases{/id}","deployments_url":"https://api.github.com/repos/sic-f/flight-booker/deployments","created_at":"2016-12-30T00:08:12Z","updated_at":"2016-12-30T00:16:28Z","pushed_at":"2017-01-06T16:13:46Z","git_url":"git://github.com/sic-f/flight-booker.git","ssh_url":"git@github.com:sic-f/flight-booker.git","clone_url":"https://github.com/sic-f/flight-booker.git","svn_url":"https://github.com/sic-f/flight-booker","homepage":null,"size":50,"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/sic-f/flight-booker/pulls/2"},"html":{"href":"https://github.com/sic-f/flight-booker/pull/2"},"issue":{"href":"https://api.github.com/repos/sic-f/flight-booker/issues/2"},"comments":{"href":"https://api.github.com/repos/sic-f/flight-booker/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sic-f/flight-booker/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sic-f/flight-booker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sic-f/flight-booker/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sic-f/flight-booker/statuses/159414bc35438cd55ec6211b0aae616cfced4e39"}}}}
{"actor":{"display_login":"houndci-bot"}}