{"action":"created","comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/26365430","id":26365430,"diff_hunk":"@@ -0,0 +1,1602 @@\n+# referensed from bug664-1.patch\n+# https://gist.github.com/benjaminvialle/4055208\n+require 'spec_helper'\n+\n+describe 'Routing to main page', :type => :routing do\n+\n+  context 'Locale-less root' do\n+    it 'routes / to login' do\n+      expect(get: '/').to route_to(\n+        controller: 'main',\n+        action: 'login'\n+      )\n+    end\n+  end\n+\n+  context 'Root with locale' do\n+    it 'routes /en/ to error' do\n+      expect(get: '/en/').not_to be_routable\n+    end\n+  end\n+end\n+\n+# start Admin route tests\n+context 'Admin resource' do\n+","path":"spec/routing/routes_spec.rb","position":25,"original_position":25,"commit_id":"52b58e56ab9f2b021efcad7467c503b12b22ab68","original_commit_id":"52b58e56ab9f2b021efcad7467c503b12b22ab68","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra empty line detected at block body beginning.","created_at":"2015-03-13T05:13:23Z","updated_at":"2015-03-13T05:13:23Z","html_url":"https://github.com/MarkUsProject/Markus/pull/2055#discussion_r26365430","pull_request_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055","_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/26365430"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2055#discussion_r26365430"},"pull_request":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055"}}},"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055","id":29774373,"html_url":"https://github.com/MarkUsProject/Markus/pull/2055","diff_url":"https://github.com/MarkUsProject/Markus/pull/2055.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2055.patch","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2055","number":2055,"state":"open","locked":false,"title":"routes_spec testing for issue 664","user":{"login":"MatakuT","id":10067146,"avatar_url":"https://avatars.githubusercontent.com/u/10067146?v=3","gravatar_id":"","url":"https://api.github.com/users/MatakuT","html_url":"https://github.com/MatakuT","followers_url":"https://api.github.com/users/MatakuT/followers","following_url":"https://api.github.com/users/MatakuT/following{/other_user}","gists_url":"https://api.github.com/users/MatakuT/gists{/gist_id}","starred_url":"https://api.github.com/users/MatakuT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatakuT/subscriptions","organizations_url":"https://api.github.com/users/MatakuT/orgs","repos_url":"https://api.github.com/users/MatakuT/repos","events_url":"https://api.github.com/users/MatakuT/events{/privacy}","received_events_url":"https://api.github.com/users/MatakuT/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-22T18:29:22Z","updated_at":"2015-03-13T05:13:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"078bb9af55a5ee5994d3f3c7bbb743a4811fd60c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055/commits","review_comments_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055/comments","review_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2055/comments","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/52b58e56ab9f2b021efcad7467c503b12b22ab68","head":{"label":"MatakuT:iss664","ref":"iss664","sha":"52b58e56ab9f2b021efcad7467c503b12b22ab68","user":{"login":"MatakuT","id":10067146,"avatar_url":"https://avatars.githubusercontent.com/u/10067146?v=3","gravatar_id":"","url":"https://api.github.com/users/MatakuT","html_url":"https://github.com/MatakuT","followers_url":"https://api.github.com/users/MatakuT/followers","following_url":"https://api.github.com/users/MatakuT/following{/other_user}","gists_url":"https://api.github.com/users/MatakuT/gists{/gist_id}","starred_url":"https://api.github.com/users/MatakuT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatakuT/subscriptions","organizations_url":"https://api.github.com/users/MatakuT/orgs","repos_url":"https://api.github.com/users/MatakuT/repos","events_url":"https://api.github.com/users/MatakuT/events{/privacy}","received_events_url":"https://api.github.com/users/MatakuT/received_events","type":"User","site_admin":false},"repo":{"id":29375342,"name":"Markus","full_name":"MatakuT/Markus","owner":{"login":"MatakuT","id":10067146,"avatar_url":"https://avatars.githubusercontent.com/u/10067146?v=3","gravatar_id":"","url":"https://api.github.com/users/MatakuT","html_url":"https://github.com/MatakuT","followers_url":"https://api.github.com/users/MatakuT/followers","following_url":"https://api.github.com/users/MatakuT/following{/other_user}","gists_url":"https://api.github.com/users/MatakuT/gists{/gist_id}","starred_url":"https://api.github.com/users/MatakuT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatakuT/subscriptions","organizations_url":"https://api.github.com/users/MatakuT/orgs","repos_url":"https://api.github.com/users/MatakuT/repos","events_url":"https://api.github.com/users/MatakuT/events{/privacy}","received_events_url":"https://api.github.com/users/MatakuT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatakuT/Markus","description":"Git repository of MarkUs","fork":true,"url":"https://api.github.com/repos/MatakuT/Markus","forks_url":"https://api.github.com/repos/MatakuT/Markus/forks","keys_url":"https://api.github.com/repos/MatakuT/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatakuT/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatakuT/Markus/teams","hooks_url":"https://api.github.com/repos/MatakuT/Markus/hooks","issue_events_url":"https://api.github.com/repos/MatakuT/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/MatakuT/Markus/events","assignees_url":"https://api.github.com/repos/MatakuT/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/MatakuT/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/MatakuT/Markus/tags","blobs_url":"https://api.github.com/repos/MatakuT/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatakuT/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatakuT/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatakuT/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatakuT/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/MatakuT/Markus/languages","stargazers_url":"https://api.github.com/repos/MatakuT/Markus/stargazers","contributors_url":"https://api.github.com/repos/MatakuT/Markus/contributors","subscribers_url":"https://api.github.com/repos/MatakuT/Markus/subscribers","subscription_url":"https://api.github.com/repos/MatakuT/Markus/subscription","commits_url":"https://api.github.com/repos/MatakuT/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatakuT/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatakuT/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatakuT/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatakuT/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/MatakuT/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatakuT/Markus/merges","archive_url":"https://api.github.com/repos/MatakuT/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatakuT/Markus/downloads","issues_url":"https://api.github.com/repos/MatakuT/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/MatakuT/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/MatakuT/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/MatakuT/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatakuT/Markus/labels{/name}","releases_url":"https://api.github.com/repos/MatakuT/Markus/releases{/id}","created_at":"2015-01-17T01:12:45Z","updated_at":"2015-01-17T01:12:48Z","pushed_at":"2015-03-13T05:13:18Z","git_url":"git://github.com/MatakuT/Markus.git","ssh_url":"git@github.com:MatakuT/Markus.git","clone_url":"https://github.com/MatakuT/Markus.git","svn_url":"https://github.com/MatakuT/Markus","homepage":"http://www.markusproject.org","size":20311,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MarkUsProject:master","ref":"master","sha":"cdde41ebd394c0dd8fb95c91383a7aa039f5b765","user":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"repo":{"id":940538,"name":"Markus","full_name":"MarkUsProject/Markus","owner":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarkUsProject/Markus","description":"Git repository of MarkUs","fork":false,"url":"https://api.github.com/repos/MarkUsProject/Markus","forks_url":"https://api.github.com/repos/MarkUsProject/Markus/forks","keys_url":"https://api.github.com/repos/MarkUsProject/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkUsProject/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkUsProject/Markus/teams","hooks_url":"https://api.github.com/repos/MarkUsProject/Markus/hooks","issue_events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/MarkUsProject/Markus/events","assignees_url":"https://api.github.com/repos/MarkUsProject/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/MarkUsProject/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/MarkUsProject/Markus/tags","blobs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkUsProject/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkUsProject/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkUsProject/Markus/languages","stargazers_url":"https://api.github.com/repos/MarkUsProject/Markus/stargazers","contributors_url":"https://api.github.com/repos/MarkUsProject/Markus/contributors","subscribers_url":"https://api.github.com/repos/MarkUsProject/Markus/subscribers","subscription_url":"https://api.github.com/repos/MarkUsProject/Markus/subscription","commits_url":"https://api.github.com/repos/MarkUsProject/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkUsProject/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkUsProject/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/MarkUsProject/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkUsProject/Markus/merges","archive_url":"https://api.github.com/repos/MarkUsProject/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkUsProject/Markus/downloads","issues_url":"https://api.github.com/repos/MarkUsProject/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkUsProject/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkUsProject/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/labels{/name}","releases_url":"https://api.github.com/repos/MarkUsProject/Markus/releases{/id}","created_at":"2010-09-26T16:18:08Z","updated_at":"2015-03-10T13:50:01Z","pushed_at":"2015-03-10T13:50:01Z","git_url":"git://github.com/MarkUsProject/Markus.git","ssh_url":"git@github.com:MarkUsProject/Markus.git","clone_url":"https://github.com/MarkUsProject/Markus.git","svn_url":"https://github.com/MarkUsProject/Markus","homepage":"http://www.markusproject.org","size":46866,"stargazers_count":122,"watchers_count":122,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":119,"forks":149,"open_issues":119,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2055"},"issue":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2055"},"comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2055/comments"},"review_comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055/comments"},"review_comment":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2055/commits"},"statuses":{"href":"https://api.github.com/repos/MarkUsProject/Markus/statuses/52b58e56ab9f2b021efcad7467c503b12b22ab68"}}}}