{"action":"created","comment":{"url":"https://api.github.com/repos/lokka/lokka/pulls/comments/170440138","pull_request_review_id":99130603,"id":170440138,"diff_hunk":"@@ -1,99 +1,101 @@\n-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')\n+# frozen_string_literal: true\n \n-describe '/admin/posts' do\n-  include_context 'admin login'\n+require File.expand_path(File.dirname(__FILE__) + \"/spec_helper\")\n+\n+describe \"/admin/posts\" do\n+  include_context \"admin login\"\n \n   before do\n-    @post = Factory(:post)\n-    Factory(:draft_post)\n+    @post = create(:post)\n+    create(:draft_post)\n   end\n \n   after { Post.destroy }\n \n-  context 'with no option' do\n-    it 'should show all posts' do\n-      get '/admin/posts'\n-      last_response.body.should match('Test Post')\n-      last_response.body.should match('Draft Post')\n+  context \"with no option\" do\n+    it \"should show all posts\" do\n+      get \"/admin/posts\"\n+      last_response.body.should match(\"Test Post\")\n+      last_response.body.should match(\"Draft Post\")\n     end\n   end\n \n-  context 'with draft option' do\n-    it 'should show only draft posts' do\n-      get '/admin/posts', {:draft => 'true'}\n-      last_response.body.should_not match('Test Post')\n-      last_response.body.should match('Draft Post')\n+  context \"with draft option\" do\n+    it \"should show only draft posts\" do\n+      get \"/admin/posts\", { draft: \"true\" }","path":"spec/integration/admin/posts_spec.rb","position":40,"original_position":40,"commit_id":"5a9bdc0a4e6dd79e0b9dec4c3db22353e1d8a252","original_commit_id":"5a9bdc0a4e6dd79e0b9dec4c3db22353e1d8a252","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":"Redundant curly braces around a hash parameter.","created_at":"2018-02-25T03:20:45Z","updated_at":"2018-02-25T03:20:46Z","html_url":"https://github.com/lokka/lokka/pull/232#discussion_r170440138","pull_request_url":"https://api.github.com/repos/lokka/lokka/pulls/232","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/lokka/lokka/pulls/comments/170440138"},"html":{"href":"https://github.com/lokka/lokka/pull/232#discussion_r170440138"},"pull_request":{"href":"https://api.github.com/repos/lokka/lokka/pulls/232"}}},"pull_request":{"url":"https://api.github.com/repos/lokka/lokka/pulls/232","id":156060921,"html_url":"https://github.com/lokka/lokka/pull/232","diff_url":"https://github.com/lokka/lokka/pull/232.diff","patch_url":"https://github.com/lokka/lokka/pull/232.patch","issue_url":"https://api.github.com/repos/lokka/lokka/issues/232","number":232,"state":"open","locked":false,"title":"[WIP] Hush-up houndci-bot","user":{"login":"morygonzalez","id":106567,"avatar_url":"https://avatars0.githubusercontent.com/u/106567?v=4","gravatar_id":"","url":"https://api.github.com/users/morygonzalez","html_url":"https://github.com/morygonzalez","followers_url":"https://api.github.com/users/morygonzalez/followers","following_url":"https://api.github.com/users/morygonzalez/following{/other_user}","gists_url":"https://api.github.com/users/morygonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/morygonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morygonzalez/subscriptions","organizations_url":"https://api.github.com/users/morygonzalez/orgs","repos_url":"https://api.github.com/users/morygonzalez/repos","events_url":"https://api.github.com/users/morygonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/morygonzalez/received_events","type":"User","site_admin":false},"body":"Let @houndci-bot shut his big mouse up","created_at":"2017-12-03T13:38:45Z","updated_at":"2018-02-25T03:20:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0f2cdc3b5277e1203dc85e06b250b5898495456","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lokka/lokka/pulls/232/commits","review_comments_url":"https://api.github.com/repos/lokka/lokka/pulls/232/comments","review_comment_url":"https://api.github.com/repos/lokka/lokka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lokka/lokka/issues/232/comments","statuses_url":"https://api.github.com/repos/lokka/lokka/statuses/5a9bdc0a4e6dd79e0b9dec4c3db22353e1d8a252","head":{"label":"morygonzalez:hush-up-houndci","ref":"hush-up-houndci","sha":"5a9bdc0a4e6dd79e0b9dec4c3db22353e1d8a252","user":{"login":"morygonzalez","id":106567,"avatar_url":"https://avatars0.githubusercontent.com/u/106567?v=4","gravatar_id":"","url":"https://api.github.com/users/morygonzalez","html_url":"https://github.com/morygonzalez","followers_url":"https://api.github.com/users/morygonzalez/followers","following_url":"https://api.github.com/users/morygonzalez/following{/other_user}","gists_url":"https://api.github.com/users/morygonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/morygonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morygonzalez/subscriptions","organizations_url":"https://api.github.com/users/morygonzalez/orgs","repos_url":"https://api.github.com/users/morygonzalez/repos","events_url":"https://api.github.com/users/morygonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/morygonzalez/received_events","type":"User","site_admin":false},"repo":{"id":1607034,"name":"lokka","full_name":"morygonzalez/lokka","owner":{"login":"morygonzalez","id":106567,"avatar_url":"https://avatars0.githubusercontent.com/u/106567?v=4","gravatar_id":"","url":"https://api.github.com/users/morygonzalez","html_url":"https://github.com/morygonzalez","followers_url":"https://api.github.com/users/morygonzalez/followers","following_url":"https://api.github.com/users/morygonzalez/following{/other_user}","gists_url":"https://api.github.com/users/morygonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/morygonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morygonzalez/subscriptions","organizations_url":"https://api.github.com/users/morygonzalez/orgs","repos_url":"https://api.github.com/users/morygonzalez/repos","events_url":"https://api.github.com/users/morygonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/morygonzalez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morygonzalez/lokka","description":"CMS for Cloud.","fork":true,"url":"https://api.github.com/repos/morygonzalez/lokka","forks_url":"https://api.github.com/repos/morygonzalez/lokka/forks","keys_url":"https://api.github.com/repos/morygonzalez/lokka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morygonzalez/lokka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morygonzalez/lokka/teams","hooks_url":"https://api.github.com/repos/morygonzalez/lokka/hooks","issue_events_url":"https://api.github.com/repos/morygonzalez/lokka/issues/events{/number}","events_url":"https://api.github.com/repos/morygonzalez/lokka/events","assignees_url":"https://api.github.com/repos/morygonzalez/lokka/assignees{/user}","branches_url":"https://api.github.com/repos/morygonzalez/lokka/branches{/branch}","tags_url":"https://api.github.com/repos/morygonzalez/lokka/tags","blobs_url":"https://api.github.com/repos/morygonzalez/lokka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morygonzalez/lokka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morygonzalez/lokka/git/refs{/sha}","trees_url":"https://api.github.com/repos/morygonzalez/lokka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morygonzalez/lokka/statuses/{sha}","languages_url":"https://api.github.com/repos/morygonzalez/lokka/languages","stargazers_url":"https://api.github.com/repos/morygonzalez/lokka/stargazers","contributors_url":"https://api.github.com/repos/morygonzalez/lokka/contributors","subscribers_url":"https://api.github.com/repos/morygonzalez/lokka/subscribers","subscription_url":"https://api.github.com/repos/morygonzalez/lokka/subscription","commits_url":"https://api.github.com/repos/morygonzalez/lokka/commits{/sha}","git_commits_url":"https://api.github.com/repos/morygonzalez/lokka/git/commits{/sha}","comments_url":"https://api.github.com/repos/morygonzalez/lokka/comments{/number}","issue_comment_url":"https://api.github.com/repos/morygonzalez/lokka/issues/comments{/number}","contents_url":"https://api.github.com/repos/morygonzalez/lokka/contents/{+path}","compare_url":"https://api.github.com/repos/morygonzalez/lokka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morygonzalez/lokka/merges","archive_url":"https://api.github.com/repos/morygonzalez/lokka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morygonzalez/lokka/downloads","issues_url":"https://api.github.com/repos/morygonzalez/lokka/issues{/number}","pulls_url":"https://api.github.com/repos/morygonzalez/lokka/pulls{/number}","milestones_url":"https://api.github.com/repos/morygonzalez/lokka/milestones{/number}","notifications_url":"https://api.github.com/repos/morygonzalez/lokka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morygonzalez/lokka/labels{/name}","releases_url":"https://api.github.com/repos/morygonzalez/lokka/releases{/id}","deployments_url":"https://api.github.com/repos/morygonzalez/lokka/deployments","created_at":"2011-04-13T00:32:09Z","updated_at":"2016-12-23T07:46:12Z","pushed_at":"2018-02-25T03:19:58Z","git_url":"git://github.com/morygonzalez/lokka.git","ssh_url":"git@github.com:morygonzalez/lokka.git","clone_url":"https://github.com/morygonzalez/lokka.git","svn_url":"https://github.com/morygonzalez/lokka","homepage":"http://lokka.org/","size":7561,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lokka:master","ref":"master","sha":"4d76ebafb3bf73c890e3097780dfd889d897fb2d","user":{"login":"lokka","id":3880932,"avatar_url":"https://avatars3.githubusercontent.com/u/3880932?v=4","gravatar_id":"","url":"https://api.github.com/users/lokka","html_url":"https://github.com/lokka","followers_url":"https://api.github.com/users/lokka/followers","following_url":"https://api.github.com/users/lokka/following{/other_user}","gists_url":"https://api.github.com/users/lokka/gists{/gist_id}","starred_url":"https://api.github.com/users/lokka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lokka/subscriptions","organizations_url":"https://api.github.com/users/lokka/orgs","repos_url":"https://api.github.com/users/lokka/repos","events_url":"https://api.github.com/users/lokka/events{/privacy}","received_events_url":"https://api.github.com/users/lokka/received_events","type":"Organization","site_admin":false},"repo":{"id":829229,"name":"lokka","full_name":"lokka/lokka","owner":{"login":"lokka","id":3880932,"avatar_url":"https://avatars3.githubusercontent.com/u/3880932?v=4","gravatar_id":"","url":"https://api.github.com/users/lokka","html_url":"https://github.com/lokka","followers_url":"https://api.github.com/users/lokka/followers","following_url":"https://api.github.com/users/lokka/following{/other_user}","gists_url":"https://api.github.com/users/lokka/gists{/gist_id}","starred_url":"https://api.github.com/users/lokka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lokka/subscriptions","organizations_url":"https://api.github.com/users/lokka/orgs","repos_url":"https://api.github.com/users/lokka/repos","events_url":"https://api.github.com/users/lokka/events{/privacy}","received_events_url":"https://api.github.com/users/lokka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lokka/lokka","description":"CMS for Cloud.","fork":false,"url":"https://api.github.com/repos/lokka/lokka","forks_url":"https://api.github.com/repos/lokka/lokka/forks","keys_url":"https://api.github.com/repos/lokka/lokka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lokka/lokka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lokka/lokka/teams","hooks_url":"https://api.github.com/repos/lokka/lokka/hooks","issue_events_url":"https://api.github.com/repos/lokka/lokka/issues/events{/number}","events_url":"https://api.github.com/repos/lokka/lokka/events","assignees_url":"https://api.github.com/repos/lokka/lokka/assignees{/user}","branches_url":"https://api.github.com/repos/lokka/lokka/branches{/branch}","tags_url":"https://api.github.com/repos/lokka/lokka/tags","blobs_url":"https://api.github.com/repos/lokka/lokka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lokka/lokka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lokka/lokka/git/refs{/sha}","trees_url":"https://api.github.com/repos/lokka/lokka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lokka/lokka/statuses/{sha}","languages_url":"https://api.github.com/repos/lokka/lokka/languages","stargazers_url":"https://api.github.com/repos/lokka/lokka/stargazers","contributors_url":"https://api.github.com/repos/lokka/lokka/contributors","subscribers_url":"https://api.github.com/repos/lokka/lokka/subscribers","subscription_url":"https://api.github.com/repos/lokka/lokka/subscription","commits_url":"https://api.github.com/repos/lokka/lokka/commits{/sha}","git_commits_url":"https://api.github.com/repos/lokka/lokka/git/commits{/sha}","comments_url":"https://api.github.com/repos/lokka/lokka/comments{/number}","issue_comment_url":"https://api.github.com/repos/lokka/lokka/issues/comments{/number}","contents_url":"https://api.github.com/repos/lokka/lokka/contents/{+path}","compare_url":"https://api.github.com/repos/lokka/lokka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lokka/lokka/merges","archive_url":"https://api.github.com/repos/lokka/lokka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lokka/lokka/downloads","issues_url":"https://api.github.com/repos/lokka/lokka/issues{/number}","pulls_url":"https://api.github.com/repos/lokka/lokka/pulls{/number}","milestones_url":"https://api.github.com/repos/lokka/lokka/milestones{/number}","notifications_url":"https://api.github.com/repos/lokka/lokka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lokka/lokka/labels{/name}","releases_url":"https://api.github.com/repos/lokka/lokka/releases{/id}","deployments_url":"https://api.github.com/repos/lokka/lokka/deployments","created_at":"2010-08-10T17:39:41Z","updated_at":"2018-02-08T15:16:14Z","pushed_at":"2018-02-25T03:19:59Z","git_url":"git://github.com/lokka/lokka.git","ssh_url":"git@github.com:lokka/lokka.git","clone_url":"https://github.com/lokka/lokka.git","svn_url":"https://github.com/lokka/lokka","homepage":"http://lokka.org/","size":6092,"stargazers_count":299,"watchers_count":299,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":90,"open_issues":30,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lokka/lokka/pulls/232"},"html":{"href":"https://github.com/lokka/lokka/pull/232"},"issue":{"href":"https://api.github.com/repos/lokka/lokka/issues/232"},"comments":{"href":"https://api.github.com/repos/lokka/lokka/issues/232/comments"},"review_comments":{"href":"https://api.github.com/repos/lokka/lokka/pulls/232/comments"},"review_comment":{"href":"https://api.github.com/repos/lokka/lokka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lokka/lokka/pulls/232/commits"},"statuses":{"href":"https://api.github.com/repos/lokka/lokka/statuses/5a9bdc0a4e6dd79e0b9dec4c3db22353e1d8a252"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}