{"action":"created","comment":{"url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/comments/172036764","pull_request_review_id":100994492,"id":172036764,"diff_hunk":"@@ -174,6 +174,18 @@ def read_file(filename)\n \n end\n \n+# Find Chromium and chromedriver in serveral common locations\n+Selenium::WebDriver::Chrome.path = ENV[\"CHROMIUM_BIN\"] || %w[\n+  /usr/bin/chromium-browser\n+  /Applications/Chromium.app/Contents/MacOS/Chromium\n+  /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome\n+].find { |path| File.executable?(path) }\n+Selenium::WebDriver::Chrome.driver_path = ENV[\"CHROMEDRIVER_PATH\"] || %w[\n+  /usr/bin/chromedriver\n+  /usr/lib/chromium-browser/chromedriver\n+  /usr/local/bin/chromedriver\n+].find { |path| File.executable?(path) }\n+","path":"test/test_helper.rb","position":15,"original_position":15,"commit_id":"d1707f0c6bea3677540dd0ae35e2a2fa6ce71621","original_commit_id":"d1707f0c6bea3677540dd0ae35e2a2fa6ce71621","user":{"login":"GBH","id":78363,"avatar_url":"https://avatars2.githubusercontent.com/u/78363?v=4","gravatar_id":"","url":"https://api.github.com/users/GBH","html_url":"https://github.com/GBH","followers_url":"https://api.github.com/users/GBH/followers","following_url":"https://api.github.com/users/GBH/following{/other_user}","gists_url":"https://api.github.com/users/GBH/gists{/gist_id}","starred_url":"https://api.github.com/users/GBH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GBH/subscriptions","organizations_url":"https://api.github.com/users/GBH/orgs","repos_url":"https://api.github.com/users/GBH/repos","events_url":"https://api.github.com/users/GBH/events{/privacy}","received_events_url":"https://api.github.com/users/GBH/received_events","type":"User","site_admin":false},"body":"Had to remove this. Broke it for me as it wouldn't find my chromedriver that lives in a different bin directory (but still on my $PATH). There has to be a documentation on Rails Guides for installing all the crap. Guides only have a bit about testing, but nothing about how to get it all running in the first place.","created_at":"2018-03-04T04:22:06Z","updated_at":"2018-03-04T04:22:07Z","html_url":"https://github.com/comfy/comfortable-mexican-sofa/pull/799#discussion_r172036764","pull_request_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/comments/172036764"},"html":{"href":"https://github.com/comfy/comfortable-mexican-sofa/pull/799#discussion_r172036764"},"pull_request":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799"}}},"pull_request":{"url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799","id":171785977,"html_url":"https://github.com/comfy/comfortable-mexican-sofa/pull/799","diff_url":"https://github.com/comfy/comfortable-mexican-sofa/pull/799.diff","patch_url":"https://github.com/comfy/comfortable-mexican-sofa/pull/799.patch","issue_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/799","number":799,"state":"open","locked":false,"title":"Add `cms:page_file_link` tag to render page files","user":{"login":"glebm","id":216339,"avatar_url":"https://avatars0.githubusercontent.com/u/216339?v=4","gravatar_id":"","url":"https://api.github.com/users/glebm","html_url":"https://github.com/glebm","followers_url":"https://api.github.com/users/glebm/followers","following_url":"https://api.github.com/users/glebm/following{/other_user}","gists_url":"https://api.github.com/users/glebm/gists{/gist_id}","starred_url":"https://api.github.com/users/glebm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glebm/subscriptions","organizations_url":"https://api.github.com/users/glebm/orgs","repos_url":"https://api.github.com/users/glebm/repos","events_url":"https://api.github.com/users/glebm/events{/privacy}","received_events_url":"https://api.github.com/users/glebm/received_events","type":"User","site_admin":false},"body":"Examples:\r\n\r\n    {{ cms:page_file_link header }}\r\n    {{ cms:page_file_link attachments, filename: \"cat.jpg\", as: image }}\r\n\r\nDragging page-level files onto the textarea generates these tags.\r\n\r\nSee #796 for more information.\r\nFixes #796","created_at":"2018-02-27T21:13:47Z","updated_at":"2018-03-04T04:22:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71f1d21ad1d408cc2dcf770930967b9b5f752ded","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799/commits","review_comments_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799/comments","review_comment_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/799/comments","statuses_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/statuses/d1707f0c6bea3677540dd0ae35e2a2fa6ce71621","head":{"label":"glebm:page-file","ref":"page-file","sha":"d1707f0c6bea3677540dd0ae35e2a2fa6ce71621","user":{"login":"glebm","id":216339,"avatar_url":"https://avatars0.githubusercontent.com/u/216339?v=4","gravatar_id":"","url":"https://api.github.com/users/glebm","html_url":"https://github.com/glebm","followers_url":"https://api.github.com/users/glebm/followers","following_url":"https://api.github.com/users/glebm/following{/other_user}","gists_url":"https://api.github.com/users/glebm/gists{/gist_id}","starred_url":"https://api.github.com/users/glebm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glebm/subscriptions","organizations_url":"https://api.github.com/users/glebm/orgs","repos_url":"https://api.github.com/users/glebm/repos","events_url":"https://api.github.com/users/glebm/events{/privacy}","received_events_url":"https://api.github.com/users/glebm/received_events","type":"User","site_admin":false},"repo":{"id":8066710,"name":"comfortable-mexican-sofa","full_name":"glebm/comfortable-mexican-sofa","owner":{"login":"glebm","id":216339,"avatar_url":"https://avatars0.githubusercontent.com/u/216339?v=4","gravatar_id":"","url":"https://api.github.com/users/glebm","html_url":"https://github.com/glebm","followers_url":"https://api.github.com/users/glebm/followers","following_url":"https://api.github.com/users/glebm/following{/other_user}","gists_url":"https://api.github.com/users/glebm/gists{/gist_id}","starred_url":"https://api.github.com/users/glebm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glebm/subscriptions","organizations_url":"https://api.github.com/users/glebm/orgs","repos_url":"https://api.github.com/users/glebm/repos","events_url":"https://api.github.com/users/glebm/events{/privacy}","received_events_url":"https://api.github.com/users/glebm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glebm/comfortable-mexican-sofa","description":"ComfortableMexicanSofa is a powerful CMS Engine for Ruby on Rails 3 applications","fork":true,"url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa","forks_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/forks","keys_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/teams","hooks_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/hooks","issue_events_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/issues/events{/number}","events_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/events","assignees_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/assignees{/user}","branches_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/branches{/branch}","tags_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/tags","blobs_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/git/refs{/sha}","trees_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/statuses/{sha}","languages_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/languages","stargazers_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/stargazers","contributors_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/contributors","subscribers_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/subscribers","subscription_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/subscription","commits_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/commits{/sha}","git_commits_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/git/commits{/sha}","comments_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/comments{/number}","issue_comment_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/issues/comments{/number}","contents_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/contents/{+path}","compare_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/merges","archive_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/downloads","issues_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/issues{/number}","pulls_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/pulls{/number}","milestones_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/milestones{/number}","notifications_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/labels{/name}","releases_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/releases{/id}","deployments_url":"https://api.github.com/repos/glebm/comfortable-mexican-sofa/deployments","created_at":"2013-02-07T04:52:06Z","updated_at":"2014-06-19T15:17:00Z","pushed_at":"2018-03-03T17:11:34Z","git_url":"git://github.com/glebm/comfortable-mexican-sofa.git","ssh_url":"git@github.com:glebm/comfortable-mexican-sofa.git","clone_url":"https://github.com/glebm/comfortable-mexican-sofa.git","svn_url":"https://github.com/glebm/comfortable-mexican-sofa","homepage":"","size":9828,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"comfy:master","ref":"master","sha":"d595c1391bf02f8fd804cc1bad99d8a372eb49ca","user":{"login":"comfy","id":1338023,"avatar_url":"https://avatars3.githubusercontent.com/u/1338023?v=4","gravatar_id":"","url":"https://api.github.com/users/comfy","html_url":"https://github.com/comfy","followers_url":"https://api.github.com/users/comfy/followers","following_url":"https://api.github.com/users/comfy/following{/other_user}","gists_url":"https://api.github.com/users/comfy/gists{/gist_id}","starred_url":"https://api.github.com/users/comfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comfy/subscriptions","organizations_url":"https://api.github.com/users/comfy/orgs","repos_url":"https://api.github.com/users/comfy/repos","events_url":"https://api.github.com/users/comfy/events{/privacy}","received_events_url":"https://api.github.com/users/comfy/received_events","type":"Organization","site_admin":false},"repo":{"id":1122534,"name":"comfortable-mexican-sofa","full_name":"comfy/comfortable-mexican-sofa","owner":{"login":"comfy","id":1338023,"avatar_url":"https://avatars3.githubusercontent.com/u/1338023?v=4","gravatar_id":"","url":"https://api.github.com/users/comfy","html_url":"https://github.com/comfy","followers_url":"https://api.github.com/users/comfy/followers","following_url":"https://api.github.com/users/comfy/following{/other_user}","gists_url":"https://api.github.com/users/comfy/gists{/gist_id}","starred_url":"https://api.github.com/users/comfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comfy/subscriptions","organizations_url":"https://api.github.com/users/comfy/orgs","repos_url":"https://api.github.com/users/comfy/repos","events_url":"https://api.github.com/users/comfy/events{/privacy}","received_events_url":"https://api.github.com/users/comfy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comfy/comfortable-mexican-sofa","description":"ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine","fork":false,"url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa","forks_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/forks","keys_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/teams","hooks_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/hooks","issue_events_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/events{/number}","events_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/events","assignees_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/assignees{/user}","branches_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/branches{/branch}","tags_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/tags","blobs_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/git/refs{/sha}","trees_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/statuses/{sha}","languages_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/languages","stargazers_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/stargazers","contributors_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/contributors","subscribers_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/subscribers","subscription_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/subscription","commits_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/commits{/sha}","git_commits_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/git/commits{/sha}","comments_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/comments{/number}","issue_comment_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/comments{/number}","contents_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/contents/{+path}","compare_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/merges","archive_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/downloads","issues_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues{/number}","pulls_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls{/number}","milestones_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/milestones{/number}","notifications_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/labels{/name}","releases_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/releases{/id}","deployments_url":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/deployments","created_at":"2010-11-29T15:58:39Z","updated_at":"2018-03-03T05:53:23Z","pushed_at":"2018-03-03T17:11:36Z","git_url":"git://github.com/comfy/comfortable-mexican-sofa.git","ssh_url":"git@github.com:comfy/comfortable-mexican-sofa.git","clone_url":"https://github.com/comfy/comfortable-mexican-sofa.git","svn_url":"https://github.com/comfy/comfortable-mexican-sofa","homepage":"","size":9431,"stargazers_count":2357,"watchers_count":2357,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":556,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":556,"open_issues":9,"watchers":2357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799"},"html":{"href":"https://github.com/comfy/comfortable-mexican-sofa/pull/799"},"issue":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/799"},"comments":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/issues/799/comments"},"review_comments":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799/comments"},"review_comment":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/pulls/799/commits"},"statuses":{"href":"https://api.github.com/repos/comfy/comfortable-mexican-sofa/statuses/d1707f0c6bea3677540dd0ae35e2a2fa6ce71621"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GBH"}}