{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/89195262","pull_request_review_id":9742922,"id":89195262,"diff_hunk":"@@ -0,0 +1,213 @@\n+/**\n+ * Tests functionality in ui/public/courier/saved_object/saved_object.js\n+ */\n+\n+import ngMock from 'ng_mock';\n+import expect from 'expect.js';\n+import sinon from 'auto-release-sinon';\n+\n+import BluebirdPromise from 'bluebird';\n+import SavedObjectFactory from '../saved_object/saved_object';\n+import { stubMapper } from 'test_utils/stub_mapper';\n+import IndexPatternFactory from 'ui/index_patterns/_index_pattern';\n+\n+describe('Saved Object', function () {\n+  require('test_utils/no_digest_promises').activateForSuite();\n+\n+  let savedObjectFactory;\n+  let IndexPattern;\n+  let esStub;\n+\n+  beforeEach(ngMock.module('kibana'));\n+  beforeEach(ngMock.inject(function ($injector, Private) {","path":"src/ui/public/courier/__tests__/saved_object.js","position":null,"original_position":22,"commit_id":"834cb27e8c9900200d1b712e1de633c51dca64b0","original_commit_id":"a6fd8f091bb77a69e803f6263a3ba489be69afbc","user":{"login":"Stacey-Gammon","id":16563603,"avatar_url":"https://avatars.githubusercontent.com/u/16563603?v=3","gravatar_id":"","url":"https://api.github.com/users/Stacey-Gammon","html_url":"https://github.com/Stacey-Gammon","followers_url":"https://api.github.com/users/Stacey-Gammon/followers","following_url":"https://api.github.com/users/Stacey-Gammon/following{/other_user}","gists_url":"https://api.github.com/users/Stacey-Gammon/gists{/gist_id}","starred_url":"https://api.github.com/users/Stacey-Gammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stacey-Gammon/subscriptions","organizations_url":"https://api.github.com/users/Stacey-Gammon/orgs","repos_url":"https://api.github.com/users/Stacey-Gammon/repos","events_url":"https://api.github.com/users/Stacey-Gammon/events{/privacy}","received_events_url":"https://api.github.com/users/Stacey-Gammon/received_events","type":"User","site_admin":false},"body":"ah, awesome, done!","created_at":"2016-11-22T19:44:23Z","updated_at":"2016-11-22T19:44:23Z","html_url":"https://github.com/elastic/kibana/pull/9127#discussion_r89195262","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/9127","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/89195262"},"html":{"href":"https://github.com/elastic/kibana/pull/9127#discussion_r89195262"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/9127"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/9127","id":94215687,"html_url":"https://github.com/elastic/kibana/pull/9127","diff_url":"https://github.com/elastic/kibana/pull/9127.diff","patch_url":"https://github.com/elastic/kibana/pull/9127.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/9127","number":9127,"state":"open","locked":false,"title":"Create tests for savedobject.js in prep of refactoring and changes","user":{"login":"Stacey-Gammon","id":16563603,"avatar_url":"https://avatars.githubusercontent.com/u/16563603?v=3","gravatar_id":"","url":"https://api.github.com/users/Stacey-Gammon","html_url":"https://github.com/Stacey-Gammon","followers_url":"https://api.github.com/users/Stacey-Gammon/followers","following_url":"https://api.github.com/users/Stacey-Gammon/following{/other_user}","gists_url":"https://api.github.com/users/Stacey-Gammon/gists{/gist_id}","starred_url":"https://api.github.com/users/Stacey-Gammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stacey-Gammon/subscriptions","organizations_url":"https://api.github.com/users/Stacey-Gammon/orgs","repos_url":"https://api.github.com/users/Stacey-Gammon/repos","events_url":"https://api.github.com/users/Stacey-Gammon/events{/privacy}","received_events_url":"https://api.github.com/users/Stacey-Gammon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T17:42:57Z","updated_at":"2016-11-22T19:44:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a82262c0f93e54addaa4e0d6b281789f381bc7e4","assignee":{"login":"kobelb","id":627123,"avatar_url":"https://avatars.githubusercontent.com/u/627123?v=3","gravatar_id":"","url":"https://api.github.com/users/kobelb","html_url":"https://github.com/kobelb","followers_url":"https://api.github.com/users/kobelb/followers","following_url":"https://api.github.com/users/kobelb/following{/other_user}","gists_url":"https://api.github.com/users/kobelb/gists{/gist_id}","starred_url":"https://api.github.com/users/kobelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobelb/subscriptions","organizations_url":"https://api.github.com/users/kobelb/orgs","repos_url":"https://api.github.com/users/kobelb/repos","events_url":"https://api.github.com/users/kobelb/events{/privacy}","received_events_url":"https://api.github.com/users/kobelb/received_events","type":"User","site_admin":false},"assignees":[{"login":"kobelb","id":627123,"avatar_url":"https://avatars.githubusercontent.com/u/627123?v=3","gravatar_id":"","url":"https://api.github.com/users/kobelb","html_url":"https://github.com/kobelb","followers_url":"https://api.github.com/users/kobelb/followers","following_url":"https://api.github.com/users/kobelb/following{/other_user}","gists_url":"https://api.github.com/users/kobelb/gists{/gist_id}","starred_url":"https://api.github.com/users/kobelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobelb/subscriptions","organizations_url":"https://api.github.com/users/kobelb/orgs","repos_url":"https://api.github.com/users/kobelb/repos","events_url":"https://api.github.com/users/kobelb/events{/privacy}","received_events_url":"https://api.github.com/users/kobelb/received_events","type":"User","site_admin":false},{"login":"cjcenizal","id":1238659,"avatar_url":"https://avatars.githubusercontent.com/u/1238659?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcenizal","html_url":"https://github.com/cjcenizal","followers_url":"https://api.github.com/users/cjcenizal/followers","following_url":"https://api.github.com/users/cjcenizal/following{/other_user}","gists_url":"https://api.github.com/users/cjcenizal/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcenizal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcenizal/subscriptions","organizations_url":"https://api.github.com/users/cjcenizal/orgs","repos_url":"https://api.github.com/users/cjcenizal/repos","events_url":"https://api.github.com/users/cjcenizal/events{/privacy}","received_events_url":"https://api.github.com/users/cjcenizal/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/9127/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/9127/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/9127/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/834cb27e8c9900200d1b712e1de633c51dca64b0","head":{"label":"Stacey-Gammon:saved_object_tests","ref":"saved_object_tests","sha":"834cb27e8c9900200d1b712e1de633c51dca64b0","user":{"login":"Stacey-Gammon","id":16563603,"avatar_url":"https://avatars.githubusercontent.com/u/16563603?v=3","gravatar_id":"","url":"https://api.github.com/users/Stacey-Gammon","html_url":"https://github.com/Stacey-Gammon","followers_url":"https://api.github.com/users/Stacey-Gammon/followers","following_url":"https://api.github.com/users/Stacey-Gammon/following{/other_user}","gists_url":"https://api.github.com/users/Stacey-Gammon/gists{/gist_id}","starred_url":"https://api.github.com/users/Stacey-Gammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stacey-Gammon/subscriptions","organizations_url":"https://api.github.com/users/Stacey-Gammon/orgs","repos_url":"https://api.github.com/users/Stacey-Gammon/repos","events_url":"https://api.github.com/users/Stacey-Gammon/events{/privacy}","received_events_url":"https://api.github.com/users/Stacey-Gammon/received_events","type":"User","site_admin":false},"repo":{"id":68325068,"name":"kibana","full_name":"Stacey-Gammon/kibana","owner":{"login":"Stacey-Gammon","id":16563603,"avatar_url":"https://avatars.githubusercontent.com/u/16563603?v=3","gravatar_id":"","url":"https://api.github.com/users/Stacey-Gammon","html_url":"https://github.com/Stacey-Gammon","followers_url":"https://api.github.com/users/Stacey-Gammon/followers","following_url":"https://api.github.com/users/Stacey-Gammon/following{/other_user}","gists_url":"https://api.github.com/users/Stacey-Gammon/gists{/gist_id}","starred_url":"https://api.github.com/users/Stacey-Gammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stacey-Gammon/subscriptions","organizations_url":"https://api.github.com/users/Stacey-Gammon/orgs","repos_url":"https://api.github.com/users/Stacey-Gammon/repos","events_url":"https://api.github.com/users/Stacey-Gammon/events{/privacy}","received_events_url":"https://api.github.com/users/Stacey-Gammon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Stacey-Gammon/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/Stacey-Gammon/kibana","forks_url":"https://api.github.com/repos/Stacey-Gammon/kibana/forks","keys_url":"https://api.github.com/repos/Stacey-Gammon/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stacey-Gammon/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stacey-Gammon/kibana/teams","hooks_url":"https://api.github.com/repos/Stacey-Gammon/kibana/hooks","issue_events_url":"https://api.github.com/repos/Stacey-Gammon/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/Stacey-Gammon/kibana/events","assignees_url":"https://api.github.com/repos/Stacey-Gammon/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/Stacey-Gammon/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/Stacey-Gammon/kibana/tags","blobs_url":"https://api.github.com/repos/Stacey-Gammon/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stacey-Gammon/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stacey-Gammon/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stacey-Gammon/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stacey-Gammon/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/Stacey-Gammon/kibana/languages","stargazers_url":"https://api.github.com/repos/Stacey-Gammon/kibana/stargazers","contributors_url":"https://api.github.com/repos/Stacey-Gammon/kibana/contributors","subscribers_url":"https://api.github.com/repos/Stacey-Gammon/kibana/subscribers","subscription_url":"https://api.github.com/repos/Stacey-Gammon/kibana/subscription","commits_url":"https://api.github.com/repos/Stacey-Gammon/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stacey-Gammon/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stacey-Gammon/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stacey-Gammon/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stacey-Gammon/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/Stacey-Gammon/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stacey-Gammon/kibana/merges","archive_url":"https://api.github.com/repos/Stacey-Gammon/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stacey-Gammon/kibana/downloads","issues_url":"https://api.github.com/repos/Stacey-Gammon/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/Stacey-Gammon/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/Stacey-Gammon/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/Stacey-Gammon/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stacey-Gammon/kibana/labels{/name}","releases_url":"https://api.github.com/repos/Stacey-Gammon/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/Stacey-Gammon/kibana/deployments","created_at":"2016-09-15T19:33:24Z","updated_at":"2016-09-15T19:33:30Z","pushed_at":"2016-11-22T19:43:17Z","git_url":"git://github.com/Stacey-Gammon/kibana.git","ssh_url":"git@github.com:Stacey-Gammon/kibana.git","clone_url":"https://github.com/Stacey-Gammon/kibana.git","svn_url":"https://github.com/Stacey-Gammon/kibana","homepage":"https://www.elastic.co/products/kibana","size":222073,"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":"elastic:master","ref":"master","sha":"34d7bde0758e69f9654a03165ec34541c72e1e92","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":7833168,"name":"kibana","full_name":"elastic/kibana","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2016-11-22T19:11:42Z","pushed_at":"2016-11-22T19:43:18Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":272092,"stargazers_count":6355,"watchers_count":6355,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2345,"mirror_url":null,"open_issues_count":1305,"forks":2345,"open_issues":1305,"watchers":6355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/9127"},"html":{"href":"https://github.com/elastic/kibana/pull/9127"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/9127"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/9127/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/9127/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/9127/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/834cb27e8c9900200d1b712e1de633c51dca64b0"}}}}
{"actor":{"display_login":"Stacey-Gammon"}}