{"action":"created","comment":{"url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/comments/57711885","id":57711885,"diff_hunk":"@@ -0,0 +1,147 @@\n+'use strict';\n+\n+/* jasmine specs for openmrsRest service go here */\n+describe('OpenmrsRest service', function() {\n+\n+    beforeEach(function(){\n+        jasmine.addMatchers({\n+            toEqualData: function(util, customEqualityTesters) {\n+                return {\n+                    compare: function(actual, expected) {\n+                        var passed = angular.equals(actual, expected);\n+                        return {\n+                            pass: passed,\n+                            message: 'Expected ' + actual + (passed ? '' : ' not') + ' to equal ' + expected\n+                        }\n+                    }\n+                }\n+            }\n+        });\n+    });\n+\n+    beforeEach(module('conceptDictionaryApp'));\n+\n+    describe('ListFull should retrun full representations', function(){\n+        var $httpBackend, openmrsRest, list;\n+\n+        beforeEach(inject(function(_$httpBackend_, _openmrsRest_){\n+        \topenmrsRest = _openmrsRest_;\n+            $httpBackend = _$httpBackend_;\n+            $httpBackend.whenGET('partials/index-menu.html').respond();\n+            $httpBackend.whenGET('/ws/rest/v1/item?v=full').\n+            respond({results:[{ name: 'item1',  \n+            \t\t\t\t\tuuid: \"2b22dc27-72ec-4ab5-9fa8-d98be91adc1c\"},","path":"test/unit/openmrs.spec.js","position":33,"original_position":33,"commit_id":"8bc52683babcbfde740520da24fced9a69a801d4","original_commit_id":"8bc52683babcbfde740520da24fced9a69a801d4","user":{"login":"rkorytkowski","id":1163157,"avatar_url":"https://avatars.githubusercontent.com/u/1163157?v=3","gravatar_id":"","url":"https://api.github.com/users/rkorytkowski","html_url":"https://github.com/rkorytkowski","followers_url":"https://api.github.com/users/rkorytkowski/followers","following_url":"https://api.github.com/users/rkorytkowski/following{/other_user}","gists_url":"https://api.github.com/users/rkorytkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkorytkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkorytkowski/subscriptions","organizations_url":"https://api.github.com/users/rkorytkowski/orgs","repos_url":"https://api.github.com/users/rkorytkowski/repos","events_url":"https://api.github.com/users/rkorytkowski/events{/privacy}","received_events_url":"https://api.github.com/users/rkorytkowski/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Mixed double and single quotes.](https://www.codacy.com/app/openmrs/openmrs-owa-conceptdictionary/file/2319554381/issues/source?bid=3196969&fileBranchId=3204313#l33)","created_at":"2016-03-29T12:05:40Z","updated_at":"2016-03-29T12:05:40Z","html_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50#discussion_r57711885","pull_request_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/comments/57711885"},"html":{"href":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50#discussion_r57711885"},"pull_request":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50","id":64426507,"html_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50","diff_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50.diff","patch_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50.patch","issue_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/50","number":50,"state":"open","locked":false,"title":"RA-1093 added tests to openmrs.js","user":{"login":"AdamGrzybkowski","id":12660801,"avatar_url":"https://avatars.githubusercontent.com/u/12660801?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamGrzybkowski","html_url":"https://github.com/AdamGrzybkowski","followers_url":"https://api.github.com/users/AdamGrzybkowski/followers","following_url":"https://api.github.com/users/AdamGrzybkowski/following{/other_user}","gists_url":"https://api.github.com/users/AdamGrzybkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamGrzybkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamGrzybkowski/subscriptions","organizations_url":"https://api.github.com/users/AdamGrzybkowski/orgs","repos_url":"https://api.github.com/users/AdamGrzybkowski/repos","events_url":"https://api.github.com/users/AdamGrzybkowski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamGrzybkowski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-29T07:57:04Z","updated_at":"2016-03-29T12:05:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f66fc828a5f7b452b56cd19ff0f33ca2f7e6d4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50/commits","review_comments_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50/comments","review_comment_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/50/comments","statuses_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/statuses/8bc52683babcbfde740520da24fced9a69a801d4","head":{"label":"AdamGrzybkowski:RA-1093","ref":"RA-1093","sha":"8bc52683babcbfde740520da24fced9a69a801d4","user":{"login":"AdamGrzybkowski","id":12660801,"avatar_url":"https://avatars.githubusercontent.com/u/12660801?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamGrzybkowski","html_url":"https://github.com/AdamGrzybkowski","followers_url":"https://api.github.com/users/AdamGrzybkowski/followers","following_url":"https://api.github.com/users/AdamGrzybkowski/following{/other_user}","gists_url":"https://api.github.com/users/AdamGrzybkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamGrzybkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamGrzybkowski/subscriptions","organizations_url":"https://api.github.com/users/AdamGrzybkowski/orgs","repos_url":"https://api.github.com/users/AdamGrzybkowski/repos","events_url":"https://api.github.com/users/AdamGrzybkowski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamGrzybkowski/received_events","type":"User","site_admin":false},"repo":{"id":52994436,"name":"openmrs-owa-conceptdictionary","full_name":"AdamGrzybkowski/openmrs-owa-conceptdictionary","owner":{"login":"AdamGrzybkowski","id":12660801,"avatar_url":"https://avatars.githubusercontent.com/u/12660801?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamGrzybkowski","html_url":"https://github.com/AdamGrzybkowski","followers_url":"https://api.github.com/users/AdamGrzybkowski/followers","following_url":"https://api.github.com/users/AdamGrzybkowski/following{/other_user}","gists_url":"https://api.github.com/users/AdamGrzybkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamGrzybkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamGrzybkowski/subscriptions","organizations_url":"https://api.github.com/users/AdamGrzybkowski/orgs","repos_url":"https://api.github.com/users/AdamGrzybkowski/repos","events_url":"https://api.github.com/users/AdamGrzybkowski/events{/privacy}","received_events_url":"https://api.github.com/users/AdamGrzybkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AdamGrzybkowski/openmrs-owa-conceptdictionary","description":"Concept Dictionary Open Web App","fork":true,"url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary","forks_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/forks","keys_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/teams","hooks_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/hooks","issue_events_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/issues/events{/number}","events_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/events","assignees_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/assignees{/user}","branches_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/branches{/branch}","tags_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/tags","blobs_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/statuses/{sha}","languages_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/languages","stargazers_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/stargazers","contributors_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/contributors","subscribers_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/subscribers","subscription_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/subscription","commits_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/contents/{+path}","compare_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/merges","archive_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/downloads","issues_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/issues{/number}","pulls_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/pulls{/number}","milestones_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/milestones{/number}","notifications_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/labels{/name}","releases_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/releases{/id}","deployments_url":"https://api.github.com/repos/AdamGrzybkowski/openmrs-owa-conceptdictionary/deployments","created_at":"2016-03-02T20:32:31Z","updated_at":"2016-03-24T13:21:54Z","pushed_at":"2016-03-29T11:16:51Z","git_url":"git://github.com/AdamGrzybkowski/openmrs-owa-conceptdictionary.git","ssh_url":"git@github.com:AdamGrzybkowski/openmrs-owa-conceptdictionary.git","clone_url":"https://github.com/AdamGrzybkowski/openmrs-owa-conceptdictionary.git","svn_url":"https://github.com/AdamGrzybkowski/openmrs-owa-conceptdictionary","homepage":null,"size":990,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"rkorytkowski:master","ref":"master","sha":"44f20ec274e3690a1f48703d67b5a5373b406ac5","user":{"login":"rkorytkowski","id":1163157,"avatar_url":"https://avatars.githubusercontent.com/u/1163157?v=3","gravatar_id":"","url":"https://api.github.com/users/rkorytkowski","html_url":"https://github.com/rkorytkowski","followers_url":"https://api.github.com/users/rkorytkowski/followers","following_url":"https://api.github.com/users/rkorytkowski/following{/other_user}","gists_url":"https://api.github.com/users/rkorytkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkorytkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkorytkowski/subscriptions","organizations_url":"https://api.github.com/users/rkorytkowski/orgs","repos_url":"https://api.github.com/users/rkorytkowski/repos","events_url":"https://api.github.com/users/rkorytkowski/events{/privacy}","received_events_url":"https://api.github.com/users/rkorytkowski/received_events","type":"User","site_admin":false},"repo":{"id":52958598,"name":"openmrs-owa-conceptdictionary","full_name":"rkorytkowski/openmrs-owa-conceptdictionary","owner":{"login":"rkorytkowski","id":1163157,"avatar_url":"https://avatars.githubusercontent.com/u/1163157?v=3","gravatar_id":"","url":"https://api.github.com/users/rkorytkowski","html_url":"https://github.com/rkorytkowski","followers_url":"https://api.github.com/users/rkorytkowski/followers","following_url":"https://api.github.com/users/rkorytkowski/following{/other_user}","gists_url":"https://api.github.com/users/rkorytkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkorytkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkorytkowski/subscriptions","organizations_url":"https://api.github.com/users/rkorytkowski/orgs","repos_url":"https://api.github.com/users/rkorytkowski/repos","events_url":"https://api.github.com/users/rkorytkowski/events{/privacy}","received_events_url":"https://api.github.com/users/rkorytkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary","description":"Concept Dictionary Open Web App","fork":false,"url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary","forks_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/forks","keys_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/teams","hooks_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/hooks","issue_events_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/events{/number}","events_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/events","assignees_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/assignees{/user}","branches_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/branches{/branch}","tags_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/tags","blobs_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/statuses/{sha}","languages_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/languages","stargazers_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/stargazers","contributors_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/contributors","subscribers_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/subscribers","subscription_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/subscription","commits_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/contents/{+path}","compare_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/merges","archive_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/downloads","issues_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues{/number}","pulls_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls{/number}","milestones_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/milestones{/number}","notifications_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/labels{/name}","releases_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/releases{/id}","deployments_url":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/deployments","created_at":"2016-03-02T11:44:12Z","updated_at":"2016-03-23T09:57:25Z","pushed_at":"2016-03-29T12:03:23Z","git_url":"git://github.com/rkorytkowski/openmrs-owa-conceptdictionary.git","ssh_url":"git@github.com:rkorytkowski/openmrs-owa-conceptdictionary.git","clone_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary.git","svn_url":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary","homepage":null,"size":1008,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50"},"html":{"href":"https://github.com/rkorytkowski/openmrs-owa-conceptdictionary/pull/50"},"issue":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/50"},"comments":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/rkorytkowski/openmrs-owa-conceptdictionary/statuses/8bc52683babcbfde740520da24fced9a69a801d4"}}}}