{"action":"created","comment":{"url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments/116717767","pull_request_review_id":38359323,"id":116717767,"diff_hunk":"@@ -170,8 +233,56 @@ describe('Filter scBranchOrderBy', function () {\n             expect(result[2].branch.name).toEqual('Ba');\n             expect(result[3].branch.name).toEqual('Ae');\n         });\n+    });\n+\n+    describe('should order given branch resource objects by name-ascending:', function () {\n+\n+        it('initConfig', function () {\n+            initConfig(CFG_NAME_ASCENDING);\n+        });\n \n+        it('then alphabetically (not case sensitive!)', function () {\n+\n+            var result = scBranchOrderByFilter(DEFAULT_INPUT);\n+\n+            expect(result[0].branch.name).toEqual('release-1.3');\n+            expect(result[1].branch.name).toEqual('release-1.4');\n+            expect(result[2].branch.name).toEqual('feature-101');\n+            expect(result[3].branch.name).toEqual('feature-102');\n+        });\n+    });\n+\n+    describe('Should order given branch resource objects by name ascending as a default', function () {\n+\n+        it('initConfig', function () {\n+            initConfig(CFG_PROP_NOT_SET);\n+        });\n+\n+        it('then alphabetically (not case sensitive!)', function () {\n+\n+            var result = scBranchOrderByFilter(DEFAULT_INPUT);\n+\n+            expect(result[0].branch.name).toEqual('release-1.3');\n+            expect(result[1].branch.name).toEqual('release-1.4');\n+            expect(result[2].branch.name).toEqual('feature-101');\n+            expect(result[3].branch.name).toEqual('feature-102');\n+        });\n     });\n \n+    describe('should order given branch resource objects by name-descending:', function () {\n+\n+        it('initConfig', function () {","path":"scenarioo-client/test/spec/shared/navigation/branchOrderBy.filter.spec.js","position":null,"original_position":134,"commit_id":"0b21dc7697ad3b1ff3dc840b2d12e25dd3debe59","original_commit_id":"290ec76186b7dd89efcd9676a799ec5450540fa3","user":{"login":"kabl","id":4295394,"avatar_url":"https://avatars1.githubusercontent.com/u/4295394?v=3","gravatar_id":"","url":"https://api.github.com/users/kabl","html_url":"https://github.com/kabl","followers_url":"https://api.github.com/users/kabl/followers","following_url":"https://api.github.com/users/kabl/following{/other_user}","gists_url":"https://api.github.com/users/kabl/gists{/gist_id}","starred_url":"https://api.github.com/users/kabl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabl/subscriptions","organizations_url":"https://api.github.com/users/kabl/orgs","repos_url":"https://api.github.com/users/kabl/repos","events_url":"https://api.github.com/users/kabl/events{/privacy}","received_events_url":"https://api.github.com/users/kabl/received_events","type":"User","site_admin":false},"body":"OK 0b21dc7","created_at":"2017-05-16T11:28:35Z","updated_at":"2017-05-16T11:28:35Z","html_url":"https://github.com/scenarioo/scenarioo/pull/607#discussion_r116717767","pull_request_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607","_links":{"self":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments/116717767"},"html":{"href":"https://github.com/scenarioo/scenarioo/pull/607#discussion_r116717767"},"pull_request":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607"}}},"pull_request":{"url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607","id":113880410,"html_url":"https://github.com/scenarioo/scenarioo/pull/607","diff_url":"https://github.com/scenarioo/scenarioo/pull/607.diff","patch_url":"https://github.com/scenarioo/scenarioo/pull/607.patch","issue_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/607","number":607,"state":"open","locked":false,"title":"Feature/601 branch selector order","user":{"login":"kabl","id":4295394,"avatar_url":"https://avatars1.githubusercontent.com/u/4295394?v=3","gravatar_id":"","url":"https://api.github.com/users/kabl","html_url":"https://github.com/kabl","followers_url":"https://api.github.com/users/kabl/followers","following_url":"https://api.github.com/users/kabl/following{/other_user}","gists_url":"https://api.github.com/users/kabl/gists{/gist_id}","starred_url":"https://api.github.com/users/kabl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabl/subscriptions","organizations_url":"https://api.github.com/users/kabl/orgs","repos_url":"https://api.github.com/users/kabl/repos","events_url":"https://api.github.com/users/kabl/events{/privacy}","received_events_url":"https://api.github.com/users/kabl/received_events","type":"User","site_admin":false},"body":"~~Not yet ready to Merge~~","created_at":"2017-04-03T08:33:16Z","updated_at":"2017-05-16T11:28:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"206f39a864f0c5ee1e63e550ae4ab76f001eed6b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607/commits","review_comments_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607/comments","review_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/607/comments","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/0b21dc7697ad3b1ff3dc840b2d12e25dd3debe59","head":{"label":"scenarioo:feature/601-branch-selector-order","ref":"feature/601-branch-selector-order","sha":"0b21dc7697ad3b1ff3dc840b2d12e25dd3debe59","user":{"login":"scenarioo","id":5864297,"avatar_url":"https://avatars3.githubusercontent.com/u/5864297?v=3","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"repo":{"id":10269178,"name":"scenarioo","full_name":"scenarioo/scenarioo","owner":{"login":"scenarioo","id":5864297,"avatar_url":"https://avatars3.githubusercontent.com/u/5864297?v=3","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scenarioo/scenarioo","description":"Scenarioo Docu Viewer for Automated Documentation using UI-E2E-Tests","fork":false,"url":"https://api.github.com/repos/scenarioo/scenarioo","forks_url":"https://api.github.com/repos/scenarioo/scenarioo/forks","keys_url":"https://api.github.com/repos/scenarioo/scenarioo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scenarioo/scenarioo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scenarioo/scenarioo/teams","hooks_url":"https://api.github.com/repos/scenarioo/scenarioo/hooks","issue_events_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/events{/number}","events_url":"https://api.github.com/repos/scenarioo/scenarioo/events","assignees_url":"https://api.github.com/repos/scenarioo/scenarioo/assignees{/user}","branches_url":"https://api.github.com/repos/scenarioo/scenarioo/branches{/branch}","tags_url":"https://api.github.com/repos/scenarioo/scenarioo/tags","blobs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scenarioo/scenarioo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scenarioo/scenarioo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/{sha}","languages_url":"https://api.github.com/repos/scenarioo/scenarioo/languages","stargazers_url":"https://api.github.com/repos/scenarioo/scenarioo/stargazers","contributors_url":"https://api.github.com/repos/scenarioo/scenarioo/contributors","subscribers_url":"https://api.github.com/repos/scenarioo/scenarioo/subscribers","subscription_url":"https://api.github.com/repos/scenarioo/scenarioo/subscription","commits_url":"https://api.github.com/repos/scenarioo/scenarioo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scenarioo/scenarioo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scenarioo/scenarioo/contents/{+path}","compare_url":"https://api.github.com/repos/scenarioo/scenarioo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scenarioo/scenarioo/merges","archive_url":"https://api.github.com/repos/scenarioo/scenarioo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scenarioo/scenarioo/downloads","issues_url":"https://api.github.com/repos/scenarioo/scenarioo/issues{/number}","pulls_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls{/number}","milestones_url":"https://api.github.com/repos/scenarioo/scenarioo/milestones{/number}","notifications_url":"https://api.github.com/repos/scenarioo/scenarioo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scenarioo/scenarioo/labels{/name}","releases_url":"https://api.github.com/repos/scenarioo/scenarioo/releases{/id}","deployments_url":"https://api.github.com/repos/scenarioo/scenarioo/deployments","created_at":"2013-05-24T15:19:52Z","updated_at":"2017-03-27T19:34:11Z","pushed_at":"2017-05-16T11:26:27Z","git_url":"git://github.com/scenarioo/scenarioo.git","ssh_url":"git@github.com:scenarioo/scenarioo.git","clone_url":"https://github.com/scenarioo/scenarioo.git","svn_url":"https://github.com/scenarioo/scenarioo","homepage":"http://scenarioo.org","size":27298,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":172,"forks":17,"open_issues":172,"watchers":31,"default_branch":"develop"}},"base":{"label":"scenarioo:feature/591-diff-viewer-improvements","ref":"feature/591-diff-viewer-improvements","sha":"ac65b6269d72b9e9c0c6c0c3e02420c223d8f5a9","user":{"login":"scenarioo","id":5864297,"avatar_url":"https://avatars3.githubusercontent.com/u/5864297?v=3","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"repo":{"id":10269178,"name":"scenarioo","full_name":"scenarioo/scenarioo","owner":{"login":"scenarioo","id":5864297,"avatar_url":"https://avatars3.githubusercontent.com/u/5864297?v=3","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scenarioo/scenarioo","description":"Scenarioo Docu Viewer for Automated Documentation using UI-E2E-Tests","fork":false,"url":"https://api.github.com/repos/scenarioo/scenarioo","forks_url":"https://api.github.com/repos/scenarioo/scenarioo/forks","keys_url":"https://api.github.com/repos/scenarioo/scenarioo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scenarioo/scenarioo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scenarioo/scenarioo/teams","hooks_url":"https://api.github.com/repos/scenarioo/scenarioo/hooks","issue_events_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/events{/number}","events_url":"https://api.github.com/repos/scenarioo/scenarioo/events","assignees_url":"https://api.github.com/repos/scenarioo/scenarioo/assignees{/user}","branches_url":"https://api.github.com/repos/scenarioo/scenarioo/branches{/branch}","tags_url":"https://api.github.com/repos/scenarioo/scenarioo/tags","blobs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scenarioo/scenarioo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scenarioo/scenarioo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/{sha}","languages_url":"https://api.github.com/repos/scenarioo/scenarioo/languages","stargazers_url":"https://api.github.com/repos/scenarioo/scenarioo/stargazers","contributors_url":"https://api.github.com/repos/scenarioo/scenarioo/contributors","subscribers_url":"https://api.github.com/repos/scenarioo/scenarioo/subscribers","subscription_url":"https://api.github.com/repos/scenarioo/scenarioo/subscription","commits_url":"https://api.github.com/repos/scenarioo/scenarioo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scenarioo/scenarioo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scenarioo/scenarioo/contents/{+path}","compare_url":"https://api.github.com/repos/scenarioo/scenarioo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scenarioo/scenarioo/merges","archive_url":"https://api.github.com/repos/scenarioo/scenarioo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scenarioo/scenarioo/downloads","issues_url":"https://api.github.com/repos/scenarioo/scenarioo/issues{/number}","pulls_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls{/number}","milestones_url":"https://api.github.com/repos/scenarioo/scenarioo/milestones{/number}","notifications_url":"https://api.github.com/repos/scenarioo/scenarioo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scenarioo/scenarioo/labels{/name}","releases_url":"https://api.github.com/repos/scenarioo/scenarioo/releases{/id}","deployments_url":"https://api.github.com/repos/scenarioo/scenarioo/deployments","created_at":"2013-05-24T15:19:52Z","updated_at":"2017-03-27T19:34:11Z","pushed_at":"2017-05-16T11:26:27Z","git_url":"git://github.com/scenarioo/scenarioo.git","ssh_url":"git@github.com:scenarioo/scenarioo.git","clone_url":"https://github.com/scenarioo/scenarioo.git","svn_url":"https://github.com/scenarioo/scenarioo","homepage":"http://scenarioo.org","size":27298,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":172,"forks":17,"open_issues":172,"watchers":31,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607"},"html":{"href":"https://github.com/scenarioo/scenarioo/pull/607"},"issue":{"href":"https://api.github.com/repos/scenarioo/scenarioo/issues/607"},"comments":{"href":"https://api.github.com/repos/scenarioo/scenarioo/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/scenarioo/scenarioo/statuses/0b21dc7697ad3b1ff3dc840b2d12e25dd3debe59"}}}}
{"actor":{"display_login":"kabl"}}