{"action":"created","comment":{"url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/comments/166922145","pull_request_review_id":95058762,"id":166922145,"diff_hunk":"@@ -8,11 +8,12 @@ def with_signed_in_admin(admin)\n       sign_out_admin\n     end\n \n-    def with_signed_in_user(user)\n+    def with_signed_in_user(user, logout=true)\n       with_current_site(user.site) do\n         sign_in_user(user)\n         yield\n-        sign_out_user\n+        # permits skipping logout on some pages that don't have layout, thus no logout link","path":"test/support/integration/authentication_helpers.rb","position":10,"original_position":10,"commit_id":"005b797d2152f17f3f1c1053980e14b5f945213c","original_commit_id":"005b797d2152f17f3f1c1053980e14b5f945213c","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"Line is too long. [91/80]","created_at":"2018-02-08T12:45:18Z","updated_at":"2018-02-08T12:45:20Z","html_url":"https://github.com/PopulateTools/gobierto/pull/1417#discussion_r166922145","pull_request_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/comments/166922145"},"html":{"href":"https://github.com/PopulateTools/gobierto/pull/1417#discussion_r166922145"},"pull_request":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417"}}},"pull_request":{"url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417","id":167961850,"html_url":"https://github.com/PopulateTools/gobierto/pull/1417","diff_url":"https://github.com/PopulateTools/gobierto/pull/1417.diff","patch_url":"https://github.com/PopulateTools/gobierto/pull/1417.patch","issue_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/1417","number":1417,"state":"open","locked":false,"title":"262 - Implement groups stats placeholders","user":{"login":"amiedes","id":9287468,"avatar_url":"https://avatars1.githubusercontent.com/u/9287468?v=4","gravatar_id":"","url":"https://api.github.com/users/amiedes","html_url":"https://github.com/amiedes","followers_url":"https://api.github.com/users/amiedes/followers","following_url":"https://api.github.com/users/amiedes/following{/other_user}","gists_url":"https://api.github.com/users/amiedes/gists{/gist_id}","starred_url":"https://api.github.com/users/amiedes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amiedes/subscriptions","organizations_url":"https://api.github.com/users/amiedes/orgs","repos_url":"https://api.github.com/users/amiedes/repos","events_url":"https://api.github.com/users/amiedes/events{/privacy}","received_events_url":"https://api.github.com/users/amiedes/received_events","type":"User","site_admin":false},"body":"Closes [#262](https://github.com/PopulateTools/issues/issues/262)\r\n\r\n### What does this PR do?\r\n\r\nReplaces group participants_count and interactions_count placeholders for the real methods\r\n\r\nAlso does the following:\r\n\r\n* Fixes JS test `process_contribution_create_test.rb`, which was passing but was not testing the right thing.\r\n* Removes two duplicated `_theme_teaser_light.html.erb` files, which were really `_group_teaser.html.erb`\r\n* Gives more meaningful names to some fixtures\r\n* Adds several fixtures to the seeder which were not being loaded on development\r\n* Provides additional parameter to the `with_signed_in_user` helpers that permits skipping the logout action, since some test do not need it\r\n* Removes the `urban_orchad` fixture (contribution and vote), whose contribution container fixture did not exist (`huerto-urbano`) and caused errors in some tests\r\n\r\n### How should this be manually tested?\r\n\r\nYou can see group teasers with comments here: [http://newalcobendas.gobify.net/participacion/p](http://newalcobendas.gobify.net/participacion/p)\r\n\r\n### Does this PR changes any configuration file?\r\n\r\nNo\r\n","created_at":"2018-02-08T12:45:04Z","updated_at":"2018-02-08T12:45:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caa66575b11901bb822aadb2e79ebbe3da3619c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417/commits","review_comments_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417/comments","review_comment_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/1417/comments","statuses_url":"https://api.github.com/repos/PopulateTools/gobierto/statuses/005b797d2152f17f3f1c1053980e14b5f945213c","head":{"label":"PopulateTools:262-groups-listings-placeholder","ref":"262-groups-listings-placeholder","sha":"005b797d2152f17f3f1c1053980e14b5f945213c","user":{"login":"PopulateTools","id":12809868,"avatar_url":"https://avatars2.githubusercontent.com/u/12809868?v=4","gravatar_id":"","url":"https://api.github.com/users/PopulateTools","html_url":"https://github.com/PopulateTools","followers_url":"https://api.github.com/users/PopulateTools/followers","following_url":"https://api.github.com/users/PopulateTools/following{/other_user}","gists_url":"https://api.github.com/users/PopulateTools/gists{/gist_id}","starred_url":"https://api.github.com/users/PopulateTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopulateTools/subscriptions","organizations_url":"https://api.github.com/users/PopulateTools/orgs","repos_url":"https://api.github.com/users/PopulateTools/repos","events_url":"https://api.github.com/users/PopulateTools/events{/privacy}","received_events_url":"https://api.github.com/users/PopulateTools/received_events","type":"Organization","site_admin":false},"repo":{"id":71801692,"name":"gobierto","full_name":"PopulateTools/gobierto","owner":{"login":"PopulateTools","id":12809868,"avatar_url":"https://avatars2.githubusercontent.com/u/12809868?v=4","gravatar_id":"","url":"https://api.github.com/users/PopulateTools","html_url":"https://github.com/PopulateTools","followers_url":"https://api.github.com/users/PopulateTools/followers","following_url":"https://api.github.com/users/PopulateTools/following{/other_user}","gists_url":"https://api.github.com/users/PopulateTools/gists{/gist_id}","starred_url":"https://api.github.com/users/PopulateTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopulateTools/subscriptions","organizations_url":"https://api.github.com/users/PopulateTools/orgs","repos_url":"https://api.github.com/users/PopulateTools/repos","events_url":"https://api.github.com/users/PopulateTools/events{/privacy}","received_events_url":"https://api.github.com/users/PopulateTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PopulateTools/gobierto","description":"Plataforma de gobierno abierto open source","fork":false,"url":"https://api.github.com/repos/PopulateTools/gobierto","forks_url":"https://api.github.com/repos/PopulateTools/gobierto/forks","keys_url":"https://api.github.com/repos/PopulateTools/gobierto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PopulateTools/gobierto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PopulateTools/gobierto/teams","hooks_url":"https://api.github.com/repos/PopulateTools/gobierto/hooks","issue_events_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/events{/number}","events_url":"https://api.github.com/repos/PopulateTools/gobierto/events","assignees_url":"https://api.github.com/repos/PopulateTools/gobierto/assignees{/user}","branches_url":"https://api.github.com/repos/PopulateTools/gobierto/branches{/branch}","tags_url":"https://api.github.com/repos/PopulateTools/gobierto/tags","blobs_url":"https://api.github.com/repos/PopulateTools/gobierto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PopulateTools/gobierto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PopulateTools/gobierto/git/refs{/sha}","trees_url":"https://api.github.com/repos/PopulateTools/gobierto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PopulateTools/gobierto/statuses/{sha}","languages_url":"https://api.github.com/repos/PopulateTools/gobierto/languages","stargazers_url":"https://api.github.com/repos/PopulateTools/gobierto/stargazers","contributors_url":"https://api.github.com/repos/PopulateTools/gobierto/contributors","subscribers_url":"https://api.github.com/repos/PopulateTools/gobierto/subscribers","subscription_url":"https://api.github.com/repos/PopulateTools/gobierto/subscription","commits_url":"https://api.github.com/repos/PopulateTools/gobierto/commits{/sha}","git_commits_url":"https://api.github.com/repos/PopulateTools/gobierto/git/commits{/sha}","comments_url":"https://api.github.com/repos/PopulateTools/gobierto/comments{/number}","issue_comment_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/comments{/number}","contents_url":"https://api.github.com/repos/PopulateTools/gobierto/contents/{+path}","compare_url":"https://api.github.com/repos/PopulateTools/gobierto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PopulateTools/gobierto/merges","archive_url":"https://api.github.com/repos/PopulateTools/gobierto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PopulateTools/gobierto/downloads","issues_url":"https://api.github.com/repos/PopulateTools/gobierto/issues{/number}","pulls_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls{/number}","milestones_url":"https://api.github.com/repos/PopulateTools/gobierto/milestones{/number}","notifications_url":"https://api.github.com/repos/PopulateTools/gobierto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PopulateTools/gobierto/labels{/name}","releases_url":"https://api.github.com/repos/PopulateTools/gobierto/releases{/id}","deployments_url":"https://api.github.com/repos/PopulateTools/gobierto/deployments","created_at":"2016-10-24T15:13:26Z","updated_at":"2018-02-07T13:44:51Z","pushed_at":"2018-02-08T12:45:04Z","git_url":"git://github.com/PopulateTools/gobierto.git","ssh_url":"git@github.com:PopulateTools/gobierto.git","clone_url":"https://github.com/PopulateTools/gobierto.git","svn_url":"https://github.com/PopulateTools/gobierto","homepage":"https://gobierto.es","size":19733,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":106,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":106,"watchers":29,"default_branch":"master"}},"base":{"label":"PopulateTools:master","ref":"master","sha":"d957fd2cf91fe98c58d8c020de1641bac515ebef","user":{"login":"PopulateTools","id":12809868,"avatar_url":"https://avatars2.githubusercontent.com/u/12809868?v=4","gravatar_id":"","url":"https://api.github.com/users/PopulateTools","html_url":"https://github.com/PopulateTools","followers_url":"https://api.github.com/users/PopulateTools/followers","following_url":"https://api.github.com/users/PopulateTools/following{/other_user}","gists_url":"https://api.github.com/users/PopulateTools/gists{/gist_id}","starred_url":"https://api.github.com/users/PopulateTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopulateTools/subscriptions","organizations_url":"https://api.github.com/users/PopulateTools/orgs","repos_url":"https://api.github.com/users/PopulateTools/repos","events_url":"https://api.github.com/users/PopulateTools/events{/privacy}","received_events_url":"https://api.github.com/users/PopulateTools/received_events","type":"Organization","site_admin":false},"repo":{"id":71801692,"name":"gobierto","full_name":"PopulateTools/gobierto","owner":{"login":"PopulateTools","id":12809868,"avatar_url":"https://avatars2.githubusercontent.com/u/12809868?v=4","gravatar_id":"","url":"https://api.github.com/users/PopulateTools","html_url":"https://github.com/PopulateTools","followers_url":"https://api.github.com/users/PopulateTools/followers","following_url":"https://api.github.com/users/PopulateTools/following{/other_user}","gists_url":"https://api.github.com/users/PopulateTools/gists{/gist_id}","starred_url":"https://api.github.com/users/PopulateTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PopulateTools/subscriptions","organizations_url":"https://api.github.com/users/PopulateTools/orgs","repos_url":"https://api.github.com/users/PopulateTools/repos","events_url":"https://api.github.com/users/PopulateTools/events{/privacy}","received_events_url":"https://api.github.com/users/PopulateTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PopulateTools/gobierto","description":"Plataforma de gobierno abierto open source","fork":false,"url":"https://api.github.com/repos/PopulateTools/gobierto","forks_url":"https://api.github.com/repos/PopulateTools/gobierto/forks","keys_url":"https://api.github.com/repos/PopulateTools/gobierto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PopulateTools/gobierto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PopulateTools/gobierto/teams","hooks_url":"https://api.github.com/repos/PopulateTools/gobierto/hooks","issue_events_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/events{/number}","events_url":"https://api.github.com/repos/PopulateTools/gobierto/events","assignees_url":"https://api.github.com/repos/PopulateTools/gobierto/assignees{/user}","branches_url":"https://api.github.com/repos/PopulateTools/gobierto/branches{/branch}","tags_url":"https://api.github.com/repos/PopulateTools/gobierto/tags","blobs_url":"https://api.github.com/repos/PopulateTools/gobierto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PopulateTools/gobierto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PopulateTools/gobierto/git/refs{/sha}","trees_url":"https://api.github.com/repos/PopulateTools/gobierto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PopulateTools/gobierto/statuses/{sha}","languages_url":"https://api.github.com/repos/PopulateTools/gobierto/languages","stargazers_url":"https://api.github.com/repos/PopulateTools/gobierto/stargazers","contributors_url":"https://api.github.com/repos/PopulateTools/gobierto/contributors","subscribers_url":"https://api.github.com/repos/PopulateTools/gobierto/subscribers","subscription_url":"https://api.github.com/repos/PopulateTools/gobierto/subscription","commits_url":"https://api.github.com/repos/PopulateTools/gobierto/commits{/sha}","git_commits_url":"https://api.github.com/repos/PopulateTools/gobierto/git/commits{/sha}","comments_url":"https://api.github.com/repos/PopulateTools/gobierto/comments{/number}","issue_comment_url":"https://api.github.com/repos/PopulateTools/gobierto/issues/comments{/number}","contents_url":"https://api.github.com/repos/PopulateTools/gobierto/contents/{+path}","compare_url":"https://api.github.com/repos/PopulateTools/gobierto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PopulateTools/gobierto/merges","archive_url":"https://api.github.com/repos/PopulateTools/gobierto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PopulateTools/gobierto/downloads","issues_url":"https://api.github.com/repos/PopulateTools/gobierto/issues{/number}","pulls_url":"https://api.github.com/repos/PopulateTools/gobierto/pulls{/number}","milestones_url":"https://api.github.com/repos/PopulateTools/gobierto/milestones{/number}","notifications_url":"https://api.github.com/repos/PopulateTools/gobierto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PopulateTools/gobierto/labels{/name}","releases_url":"https://api.github.com/repos/PopulateTools/gobierto/releases{/id}","deployments_url":"https://api.github.com/repos/PopulateTools/gobierto/deployments","created_at":"2016-10-24T15:13:26Z","updated_at":"2018-02-07T13:44:51Z","pushed_at":"2018-02-08T12:45:04Z","git_url":"git://github.com/PopulateTools/gobierto.git","ssh_url":"git@github.com:PopulateTools/gobierto.git","clone_url":"https://github.com/PopulateTools/gobierto.git","svn_url":"https://github.com/PopulateTools/gobierto","homepage":"https://gobierto.es","size":19733,"stargazers_count":29,"watchers_count":29,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":106,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":106,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417"},"html":{"href":"https://github.com/PopulateTools/gobierto/pull/1417"},"issue":{"href":"https://api.github.com/repos/PopulateTools/gobierto/issues/1417"},"comments":{"href":"https://api.github.com/repos/PopulateTools/gobierto/issues/1417/comments"},"review_comments":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417/comments"},"review_comment":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PopulateTools/gobierto/pulls/1417/commits"},"statuses":{"href":"https://api.github.com/repos/PopulateTools/gobierto/statuses/005b797d2152f17f3f1c1053980e14b5f945213c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"houndci-bot"}}