{"action":"opened","number":4030,"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/4030","id":54545165,"html_url":"https://github.com/emberjs/data/pull/4030","diff_url":"https://github.com/emberjs/data/pull/4030.diff","patch_url":"https://github.com/emberjs/data/pull/4030.patch","issue_url":"https://api.github.com/repos/emberjs/data/issues/4030","number":4030,"state":"open","locked":false,"title":"[CLEANUP] use methods from utils module directly","user":{"login":"pangratz","id":341877,"avatar_url":"https://avatars.githubusercontent.com/u/341877?v=3","gravatar_id":"","url":"https://api.github.com/users/pangratz","html_url":"https://github.com/pangratz","followers_url":"https://api.github.com/users/pangratz/followers","following_url":"https://api.github.com/users/pangratz/following{/other_user}","gists_url":"https://api.github.com/users/pangratz/gists{/gist_id}","starred_url":"https://api.github.com/users/pangratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangratz/subscriptions","organizations_url":"https://api.github.com/users/pangratz/orgs","repos_url":"https://api.github.com/users/pangratz/repos","events_url":"https://api.github.com/users/pangratz/events{/privacy}","received_events_url":"https://api.github.com/users/pangratz/received_events","type":"User","site_admin":false},"body":"Since ember-data is a proper addon now, the utility functions in\r\n`ember-data/-private/utils` can now be imported and invoked within the\r\ntests.\r\n\r\n`assertPolymorphicType()` is now tested directly instead of relying on\r\nit being used within `Model.get('relationship').add()`.\r\n\r\n`modelHasAttributeOrRelationshipNamedType` hasn't been tested since it\r\ncouldn't be imported in the tests.","created_at":"2015-12-24T11:17:27Z","updated_at":"2015-12-24T11:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/data/pulls/4030/commits","review_comments_url":"https://api.github.com/repos/emberjs/data/pulls/4030/comments","review_comment_url":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/data/issues/4030/comments","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/61e622722a820391ea6706ef63fb7c67f3dbc816","head":{"label":"pangratz:cleanup-utils-tests","ref":"cleanup-utils-tests","sha":"61e622722a820391ea6706ef63fb7c67f3dbc816","user":{"login":"pangratz","id":341877,"avatar_url":"https://avatars.githubusercontent.com/u/341877?v=3","gravatar_id":"","url":"https://api.github.com/users/pangratz","html_url":"https://github.com/pangratz","followers_url":"https://api.github.com/users/pangratz/followers","following_url":"https://api.github.com/users/pangratz/following{/other_user}","gists_url":"https://api.github.com/users/pangratz/gists{/gist_id}","starred_url":"https://api.github.com/users/pangratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangratz/subscriptions","organizations_url":"https://api.github.com/users/pangratz/orgs","repos_url":"https://api.github.com/users/pangratz/repos","events_url":"https://api.github.com/users/pangratz/events{/privacy}","received_events_url":"https://api.github.com/users/pangratz/received_events","type":"User","site_admin":false},"repo":{"id":3021258,"name":"data","full_name":"pangratz/data","owner":{"login":"pangratz","id":341877,"avatar_url":"https://avatars.githubusercontent.com/u/341877?v=3","gravatar_id":"","url":"https://api.github.com/users/pangratz","html_url":"https://github.com/pangratz","followers_url":"https://api.github.com/users/pangratz/followers","following_url":"https://api.github.com/users/pangratz/following{/other_user}","gists_url":"https://api.github.com/users/pangratz/gists{/gist_id}","starred_url":"https://api.github.com/users/pangratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangratz/subscriptions","organizations_url":"https://api.github.com/users/pangratz/orgs","repos_url":"https://api.github.com/users/pangratz/repos","events_url":"https://api.github.com/users/pangratz/events{/privacy}","received_events_url":"https://api.github.com/users/pangratz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pangratz/data","description":"A data persistence library for Ember.js.","fork":true,"url":"https://api.github.com/repos/pangratz/data","forks_url":"https://api.github.com/repos/pangratz/data/forks","keys_url":"https://api.github.com/repos/pangratz/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pangratz/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pangratz/data/teams","hooks_url":"https://api.github.com/repos/pangratz/data/hooks","issue_events_url":"https://api.github.com/repos/pangratz/data/issues/events{/number}","events_url":"https://api.github.com/repos/pangratz/data/events","assignees_url":"https://api.github.com/repos/pangratz/data/assignees{/user}","branches_url":"https://api.github.com/repos/pangratz/data/branches{/branch}","tags_url":"https://api.github.com/repos/pangratz/data/tags","blobs_url":"https://api.github.com/repos/pangratz/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pangratz/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pangratz/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/pangratz/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pangratz/data/statuses/{sha}","languages_url":"https://api.github.com/repos/pangratz/data/languages","stargazers_url":"https://api.github.com/repos/pangratz/data/stargazers","contributors_url":"https://api.github.com/repos/pangratz/data/contributors","subscribers_url":"https://api.github.com/repos/pangratz/data/subscribers","subscription_url":"https://api.github.com/repos/pangratz/data/subscription","commits_url":"https://api.github.com/repos/pangratz/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/pangratz/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/pangratz/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/pangratz/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/pangratz/data/contents/{+path}","compare_url":"https://api.github.com/repos/pangratz/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pangratz/data/merges","archive_url":"https://api.github.com/repos/pangratz/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pangratz/data/downloads","issues_url":"https://api.github.com/repos/pangratz/data/issues{/number}","pulls_url":"https://api.github.com/repos/pangratz/data/pulls{/number}","milestones_url":"https://api.github.com/repos/pangratz/data/milestones{/number}","notifications_url":"https://api.github.com/repos/pangratz/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pangratz/data/labels{/name}","releases_url":"https://api.github.com/repos/pangratz/data/releases{/id}","created_at":"2011-12-20T17:39:07Z","updated_at":"2015-05-08T20:55:11Z","pushed_at":"2015-12-24T11:16:44Z","git_url":"git://github.com/pangratz/data.git","ssh_url":"git@github.com:pangratz/data.git","clone_url":"https://github.com/pangratz/data.git","svn_url":"https://github.com/pangratz/data","homepage":"","size":10587,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"emberjs:master","ref":"master","sha":"95c1340fc70759bb3d5b81cf1dc57e90c2d615a2","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3016562,"name":"data","full_name":"emberjs/data","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/data","description":"A data persistence library for Ember.js.","fork":false,"url":"https://api.github.com/repos/emberjs/data","forks_url":"https://api.github.com/repos/emberjs/data/forks","keys_url":"https://api.github.com/repos/emberjs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/data/teams","hooks_url":"https://api.github.com/repos/emberjs/data/hooks","issue_events_url":"https://api.github.com/repos/emberjs/data/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/data/events","assignees_url":"https://api.github.com/repos/emberjs/data/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/data/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/data/tags","blobs_url":"https://api.github.com/repos/emberjs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/data/languages","stargazers_url":"https://api.github.com/repos/emberjs/data/stargazers","contributors_url":"https://api.github.com/repos/emberjs/data/contributors","subscribers_url":"https://api.github.com/repos/emberjs/data/subscribers","subscription_url":"https://api.github.com/repos/emberjs/data/subscription","commits_url":"https://api.github.com/repos/emberjs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/data/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/data/merges","archive_url":"https://api.github.com/repos/emberjs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/data/downloads","issues_url":"https://api.github.com/repos/emberjs/data/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/data/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/data/releases{/id}","created_at":"2011-12-20T01:50:40Z","updated_at":"2015-12-23T07:47:42Z","pushed_at":"2015-12-23T15:34:25Z","git_url":"git://github.com/emberjs/data.git","ssh_url":"git@github.com:emberjs/data.git","clone_url":"https://github.com/emberjs/data.git","svn_url":"https://github.com/emberjs/data","homepage":"","size":18735,"stargazers_count":2593,"watchers_count":2593,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1005,"mirror_url":null,"open_issues_count":242,"forks":1005,"open_issues":242,"watchers":2593,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/4030"},"html":{"href":"https://github.com/emberjs/data/pull/4030"},"issue":{"href":"https://api.github.com/repos/emberjs/data/issues/4030"},"comments":{"href":"https://api.github.com/repos/emberjs/data/issues/4030/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/data/pulls/4030/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/data/pulls/4030/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/data/statuses/61e622722a820391ea6706ef63fb7c67f3dbc816"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":59,"changed_files":1}}