{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/comments/76958806","id":76958806,"diff_hunk":"@@ -1,36 +1,39 @@\n Then(/^I should see an infowindow when I click on the map markers:$/) do |table|\n   expect(page).to have_css('.measle', :count => table.raw.flatten.length)\n   Organisation.where(name: table.raw.flatten)\n-        .pluck(:name, :description, :id, :slug)\n-        .map {|name, desc, id, frdly_id| [name, smart_truncate(desc, 42), id, frdly_id]}\n-        .each do |name, desc, id, friendly_id|\n-      expect(page).to have_css(\".measle[data-id='#{id}']\")\n-      icon =find(\".measle[data-id='#{id}']\")\n-      click_twice icon\n-      expect(page).to have_css('.arrow_box')\n-      expect(find('.arrow_box').text).to include(desc)\n-      expect(find('.arrow_box').text).to include(name)\n-      link = find('.arrow_box').find('a')[:href]\n-      expect(link).to end_with(organisation_path(friendly_id))\n+      .pluck(:name, :description, :id, :slug)\n+      .map { |name, desc, id, frdly_id| [name, smart_truncate(desc, 42), id, frdly_id] }\n+      .each do |name, desc, id, friendly_id|\n+    expect(page).to have_css(\".measle[data-id='#{id}']\")\n+    icon =find(\".measle[data-id='#{id}']\")\n+    click_twice icon\n+    expect(page).to have_css('.arrow_box')\n+    expect(find('.arrow_box').text).to include(desc)\n+    expect(find('.arrow_box').text).to include(name)\n+    link = find('.arrow_box').find('a')[:href]\n+    expect(link).to end_with(organisation_path(friendly_id))\n   end\n end\n+\n def click_twice elt\n   elt.trigger('click')\n   elt.trigger('click')\n end\n+\n def find_map_icon klass, org_id\n   expect(page).to have_css \".#{klass}[data-id='#{org_id}']\"\n   find(\".#{klass}[data-id='#{org_id}']\")\n end\n+\n Then /^the (proposed organisation|organisation) \"(.*?)\" should have a (large|small) icon$/ do |type, name, icon_size|\n   klass = case type\n-  when 'proposed organisation'\n-    ProposedOrganisation\n-  when 'organisation'\n-    Organisation\n-  else\n-    raise \"Unknown class #{type}\"\n-  end\n+            when 'proposed organisation'\n+              ProposedOrganisation\n+            when 'organisation'","path":"features/step_definitions/map_steps.rb","position":50,"original_position":50,"commit_id":"52a45ccaaeea39d68adf500b844bdb087c0a99ca","original_commit_id":"52a45ccaaeea39d68adf500b844bdb087c0a99ca","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":"Style/CaseIndentation: Indent `when` as deep as `case`. (https://github.com/bbatsov/ruby-style-guide#indent-when-to-case)","created_at":"2016-08-31T09:59:47Z","updated_at":"2016-08-31T09:59:47Z","html_url":"https://github.com/AgileVentures/LocalSupport/pull/356#discussion_r76958806","pull_request_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/comments/76958806"},"html":{"href":"https://github.com/AgileVentures/LocalSupport/pull/356#discussion_r76958806"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356","id":83276283,"html_url":"https://github.com/AgileVentures/LocalSupport/pull/356","diff_url":"https://github.com/AgileVentures/LocalSupport/pull/356.diff","patch_url":"https://github.com/AgileVentures/LocalSupport/pull/356.patch","issue_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/356","number":356,"state":"open","locked":false,"title":"Handling google map API keys","user":{"login":"tansaku","id":30216,"avatar_url":"https://avatars.githubusercontent.com/u/30216?v=3","gravatar_id":"","url":"https://api.github.com/users/tansaku","html_url":"https://github.com/tansaku","followers_url":"https://api.github.com/users/tansaku/followers","following_url":"https://api.github.com/users/tansaku/following{/other_user}","gists_url":"https://api.github.com/users/tansaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tansaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansaku/subscriptions","organizations_url":"https://api.github.com/users/tansaku/orgs","repos_url":"https://api.github.com/users/tansaku/repos","events_url":"https://api.github.com/users/tansaku/events{/privacy}","received_events_url":"https://api.github.com/users/tansaku/received_events","type":"User","site_admin":false},"body":"Addresses: https://www.pivotaltracker.com/story/show/127408139","created_at":"2016-08-30T13:58:06Z","updated_at":"2016-08-31T09:59:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0765ad5713d01fc4325ea68c7bbb3024080a68ce","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/356/comments","statuses_url":"https://api.github.com/repos/AgileVentures/LocalSupport/statuses/52a45ccaaeea39d68adf500b844bdb087c0a99ca","head":{"label":"AgileVentures:127408139_map_api_key_error_rebooted","ref":"127408139_map_api_key_error_rebooted","sha":"52a45ccaaeea39d68adf500b844bdb087c0a99ca","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":14499588,"name":"LocalSupport","full_name":"AgileVentures/LocalSupport","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/LocalSupport","description":"A directory of local support services and volunteer opportunities","fork":true,"url":"https://api.github.com/repos/AgileVentures/LocalSupport","forks_url":"https://api.github.com/repos/AgileVentures/LocalSupport/forks","keys_url":"https://api.github.com/repos/AgileVentures/LocalSupport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/LocalSupport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/LocalSupport/teams","hooks_url":"https://api.github.com/repos/AgileVentures/LocalSupport/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/LocalSupport/events","assignees_url":"https://api.github.com/repos/AgileVentures/LocalSupport/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/LocalSupport/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/LocalSupport/tags","blobs_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/LocalSupport/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/LocalSupport/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/LocalSupport/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/LocalSupport/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/LocalSupport/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/LocalSupport/subscription","commits_url":"https://api.github.com/repos/AgileVentures/LocalSupport/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/LocalSupport/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/LocalSupport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/LocalSupport/merges","archive_url":"https://api.github.com/repos/AgileVentures/LocalSupport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/LocalSupport/downloads","issues_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/LocalSupport/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/LocalSupport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/LocalSupport/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/LocalSupport/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/deployments","created_at":"2013-11-18T17:24:59Z","updated_at":"2016-07-27T22:07:34Z","pushed_at":"2016-08-31T09:59:44Z","git_url":"git://github.com/AgileVentures/LocalSupport.git","ssh_url":"git@github.com:AgileVentures/LocalSupport.git","clone_url":"https://github.com/AgileVentures/LocalSupport.git","svn_url":"https://github.com/AgileVentures/LocalSupport","homepage":"http://www.harrowcn.org.uk","size":56947,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":26,"forks":90,"open_issues":26,"watchers":21,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"c74dd437f8ddde54aa0d7c2255b8d6b7856a8d3c","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":14499588,"name":"LocalSupport","full_name":"AgileVentures/LocalSupport","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/LocalSupport","description":"A directory of local support services and volunteer opportunities","fork":true,"url":"https://api.github.com/repos/AgileVentures/LocalSupport","forks_url":"https://api.github.com/repos/AgileVentures/LocalSupport/forks","keys_url":"https://api.github.com/repos/AgileVentures/LocalSupport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/LocalSupport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/LocalSupport/teams","hooks_url":"https://api.github.com/repos/AgileVentures/LocalSupport/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/LocalSupport/events","assignees_url":"https://api.github.com/repos/AgileVentures/LocalSupport/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/LocalSupport/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/LocalSupport/tags","blobs_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/LocalSupport/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/LocalSupport/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/LocalSupport/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/LocalSupport/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/LocalSupport/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/LocalSupport/subscription","commits_url":"https://api.github.com/repos/AgileVentures/LocalSupport/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/LocalSupport/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/LocalSupport/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/LocalSupport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/LocalSupport/merges","archive_url":"https://api.github.com/repos/AgileVentures/LocalSupport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/LocalSupport/downloads","issues_url":"https://api.github.com/repos/AgileVentures/LocalSupport/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/LocalSupport/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/LocalSupport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/LocalSupport/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/LocalSupport/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/LocalSupport/deployments","created_at":"2013-11-18T17:24:59Z","updated_at":"2016-07-27T22:07:34Z","pushed_at":"2016-08-31T09:59:44Z","git_url":"git://github.com/AgileVentures/LocalSupport.git","ssh_url":"git@github.com:AgileVentures/LocalSupport.git","clone_url":"https://github.com/AgileVentures/LocalSupport.git","svn_url":"https://github.com/AgileVentures/LocalSupport","homepage":"http://www.harrowcn.org.uk","size":56947,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":26,"forks":90,"open_issues":26,"watchers":21,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356"},"html":{"href":"https://github.com/AgileVentures/LocalSupport/pull/356"},"issue":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/356"},"comments":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/issues/356/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/pulls/356/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/LocalSupport/statuses/52a45ccaaeea39d68adf500b844bdb087c0a99ca"}}}}
{"actor":{"display_login":"houndci-bot"}}