{"action":"created","comment":{"url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/comments/34072804","id":34072804,"diff_hunk":"@@ -0,0 +1,121 @@\n+import Ember from 'ember';\n+import { moduleForComponent, test } from 'ember-qunit';\n+\n+var object = {\n+    chartOptions: {\n+        chart: {\n+            type: 'bar'\n+        },\n+\n+        xAxis: {\n+            categories: [ 'Apples', 'Bananas', 'Oranges' ]\n+        },\n+\n+        yAxis: {\n+            title: {\n+                text: 'Fruit Eaten'\n+            }\n+        }\n+    }\n+};\n+\n+var series = Ember.A([\n+    { name: 'Alice', data: [ 1, 0, 4 ] }\n+]);\n+\n+moduleForComponent( 'sl-chart', 'Unit | Component | sl chart', {\n+\tunit: true\n+});\n+\n+test( 'Default classNames are present', function( assert ) {\n+    this.subject({ object, series });\n+\n+    assert.ok(\n+        this.$().hasClass( 'panel' ),\n+        'Default rendered component has class \"panel\"'\n+    );\n+\n+    assert.ok(\n+        this.$().hasClass( 'panel-default' ),\n+        'Default rendered component has class \"panel-default\"'\n+    );\n+    \n+    assert.ok(\n+        this.$().hasClass( 'sl-chart' ),\n+        'Default rendered component has class \"sl-chart\"'\n+    );\n+    \n+    assert.ok(\n+        this.$().hasClass( 'sl-panel' ),\n+        'Default rendered component has class \"sl-panel\"'\n+    );\n+});\n+\n+test( 'Loading state adds loading class', function( assert ) {\n+    var component = this.subject({ object, series });","path":"tests/unit/components/sl-chart-test.js","position":55,"original_position":55,"commit_id":"4d086907f0dc8718a9008af8218cc997633d1e9f","original_commit_id":"4d086907f0dc8718a9008af8218cc997633d1e9f","user":{"login":"notmessenger","id":435544,"avatar_url":"https://avatars.githubusercontent.com/u/435544?v=3","gravatar_id":"","url":"https://api.github.com/users/notmessenger","html_url":"https://github.com/notmessenger","followers_url":"https://api.github.com/users/notmessenger/followers","following_url":"https://api.github.com/users/notmessenger/following{/other_user}","gists_url":"https://api.github.com/users/notmessenger/gists{/gist_id}","starred_url":"https://api.github.com/users/notmessenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notmessenger/subscriptions","organizations_url":"https://api.github.com/users/notmessenger/orgs","repos_url":"https://api.github.com/users/notmessenger/repos","events_url":"https://api.github.com/users/notmessenger/events{/privacy}","received_events_url":"https://api.github.com/users/notmessenger/received_events","type":"User","site_admin":false},"body":"Replace `var` with `let`.  See https://github.com/softlayer/ember-style-guide/blob/master/javascript.md#variables","created_at":"2015-07-07T18:24:37Z","updated_at":"2015-07-07T18:24:37Z","html_url":"https://github.com/softlayer/sl-ember-components/pull/395#discussion_r34072804","pull_request_url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395","_links":{"self":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/comments/34072804"},"html":{"href":"https://github.com/softlayer/sl-ember-components/pull/395#discussion_r34072804"},"pull_request":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395"}}},"pull_request":{"url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395","id":39337957,"html_url":"https://github.com/softlayer/sl-ember-components/pull/395","diff_url":"https://github.com/softlayer/sl-ember-components/pull/395.diff","patch_url":"https://github.com/softlayer/sl-ember-components/pull/395.patch","issue_url":"https://api.github.com/repos/softlayer/sl-ember-components/issues/395","number":395,"state":"open","locked":false,"title":"issue #207, Add tests for sl-chart component","user":{"login":"erangeles","id":13124163,"avatar_url":"https://avatars.githubusercontent.com/u/13124163?v=3","gravatar_id":"","url":"https://api.github.com/users/erangeles","html_url":"https://github.com/erangeles","followers_url":"https://api.github.com/users/erangeles/followers","following_url":"https://api.github.com/users/erangeles/following{/other_user}","gists_url":"https://api.github.com/users/erangeles/gists{/gist_id}","starred_url":"https://api.github.com/users/erangeles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erangeles/subscriptions","organizations_url":"https://api.github.com/users/erangeles/orgs","repos_url":"https://api.github.com/users/erangeles/repos","events_url":"https://api.github.com/users/erangeles/events{/privacy}","received_events_url":"https://api.github.com/users/erangeles/received_events","type":"User","site_admin":false},"body":"initial set of tests added for the sl-chart component.","created_at":"2015-07-07T06:11:53Z","updated_at":"2015-07-07T18:24:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e5bf06a44f5e309bc8310c1baa8e58252966cdd","assignee":null,"milestone":{"url":"https://api.github.com/repos/softlayer/sl-ember-components/milestones/6","html_url":"https://github.com/softlayer/sl-ember-components/milestones/v0.9.0","labels_url":"https://api.github.com/repos/softlayer/sl-ember-components/milestones/6/labels","id":993693,"number":6,"title":"v0.9.0","description":"","creator":{"login":"notmessenger","id":435544,"avatar_url":"https://avatars.githubusercontent.com/u/435544?v=3","gravatar_id":"","url":"https://api.github.com/users/notmessenger","html_url":"https://github.com/notmessenger","followers_url":"https://api.github.com/users/notmessenger/followers","following_url":"https://api.github.com/users/notmessenger/following{/other_user}","gists_url":"https://api.github.com/users/notmessenger/gists{/gist_id}","starred_url":"https://api.github.com/users/notmessenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notmessenger/subscriptions","organizations_url":"https://api.github.com/users/notmessenger/orgs","repos_url":"https://api.github.com/users/notmessenger/repos","events_url":"https://api.github.com/users/notmessenger/events{/privacy}","received_events_url":"https://api.github.com/users/notmessenger/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":54,"state":"open","created_at":"2015-02-24T16:42:48Z","updated_at":"2015-07-07T16:09:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395/commits","review_comments_url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395/comments","review_comment_url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/softlayer/sl-ember-components/issues/395/comments","statuses_url":"https://api.github.com/repos/softlayer/sl-ember-components/statuses/4d086907f0dc8718a9008af8218cc997633d1e9f","head":{"label":"erangeles:develop","ref":"develop","sha":"4d086907f0dc8718a9008af8218cc997633d1e9f","user":{"login":"erangeles","id":13124163,"avatar_url":"https://avatars.githubusercontent.com/u/13124163?v=3","gravatar_id":"","url":"https://api.github.com/users/erangeles","html_url":"https://github.com/erangeles","followers_url":"https://api.github.com/users/erangeles/followers","following_url":"https://api.github.com/users/erangeles/following{/other_user}","gists_url":"https://api.github.com/users/erangeles/gists{/gist_id}","starred_url":"https://api.github.com/users/erangeles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erangeles/subscriptions","organizations_url":"https://api.github.com/users/erangeles/orgs","repos_url":"https://api.github.com/users/erangeles/repos","events_url":"https://api.github.com/users/erangeles/events{/privacy}","received_events_url":"https://api.github.com/users/erangeles/received_events","type":"User","site_admin":false},"repo":{"id":38387528,"name":"sl-ember-components","full_name":"erangeles/sl-ember-components","owner":{"login":"erangeles","id":13124163,"avatar_url":"https://avatars.githubusercontent.com/u/13124163?v=3","gravatar_id":"","url":"https://api.github.com/users/erangeles","html_url":"https://github.com/erangeles","followers_url":"https://api.github.com/users/erangeles/followers","following_url":"https://api.github.com/users/erangeles/following{/other_user}","gists_url":"https://api.github.com/users/erangeles/gists{/gist_id}","starred_url":"https://api.github.com/users/erangeles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erangeles/subscriptions","organizations_url":"https://api.github.com/users/erangeles/orgs","repos_url":"https://api.github.com/users/erangeles/repos","events_url":"https://api.github.com/users/erangeles/events{/privacy}","received_events_url":"https://api.github.com/users/erangeles/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erangeles/sl-ember-components","description":"An Ember CLI Addon that provides a variety of UI components.","fork":true,"url":"https://api.github.com/repos/erangeles/sl-ember-components","forks_url":"https://api.github.com/repos/erangeles/sl-ember-components/forks","keys_url":"https://api.github.com/repos/erangeles/sl-ember-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erangeles/sl-ember-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erangeles/sl-ember-components/teams","hooks_url":"https://api.github.com/repos/erangeles/sl-ember-components/hooks","issue_events_url":"https://api.github.com/repos/erangeles/sl-ember-components/issues/events{/number}","events_url":"https://api.github.com/repos/erangeles/sl-ember-components/events","assignees_url":"https://api.github.com/repos/erangeles/sl-ember-components/assignees{/user}","branches_url":"https://api.github.com/repos/erangeles/sl-ember-components/branches{/branch}","tags_url":"https://api.github.com/repos/erangeles/sl-ember-components/tags","blobs_url":"https://api.github.com/repos/erangeles/sl-ember-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erangeles/sl-ember-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erangeles/sl-ember-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/erangeles/sl-ember-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erangeles/sl-ember-components/statuses/{sha}","languages_url":"https://api.github.com/repos/erangeles/sl-ember-components/languages","stargazers_url":"https://api.github.com/repos/erangeles/sl-ember-components/stargazers","contributors_url":"https://api.github.com/repos/erangeles/sl-ember-components/contributors","subscribers_url":"https://api.github.com/repos/erangeles/sl-ember-components/subscribers","subscription_url":"https://api.github.com/repos/erangeles/sl-ember-components/subscription","commits_url":"https://api.github.com/repos/erangeles/sl-ember-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/erangeles/sl-ember-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/erangeles/sl-ember-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/erangeles/sl-ember-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/erangeles/sl-ember-components/contents/{+path}","compare_url":"https://api.github.com/repos/erangeles/sl-ember-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erangeles/sl-ember-components/merges","archive_url":"https://api.github.com/repos/erangeles/sl-ember-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erangeles/sl-ember-components/downloads","issues_url":"https://api.github.com/repos/erangeles/sl-ember-components/issues{/number}","pulls_url":"https://api.github.com/repos/erangeles/sl-ember-components/pulls{/number}","milestones_url":"https://api.github.com/repos/erangeles/sl-ember-components/milestones{/number}","notifications_url":"https://api.github.com/repos/erangeles/sl-ember-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erangeles/sl-ember-components/labels{/name}","releases_url":"https://api.github.com/repos/erangeles/sl-ember-components/releases{/id}","created_at":"2015-07-01T18:22:28Z","updated_at":"2015-07-01T18:22:29Z","pushed_at":"2015-07-07T17:56:39Z","git_url":"git://github.com/erangeles/sl-ember-components.git","ssh_url":"git@github.com:erangeles/sl-ember-components.git","clone_url":"https://github.com/erangeles/sl-ember-components.git","svn_url":"https://github.com/erangeles/sl-ember-components","homepage":"http://softlayer.github.io/sl-ember-components","size":9343,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"softlayer:develop","ref":"develop","sha":"8726231bb6f97439f81631d8d26545e501d493a6","user":{"login":"softlayer","id":49550,"avatar_url":"https://avatars.githubusercontent.com/u/49550?v=3","gravatar_id":"","url":"https://api.github.com/users/softlayer","html_url":"https://github.com/softlayer","followers_url":"https://api.github.com/users/softlayer/followers","following_url":"https://api.github.com/users/softlayer/following{/other_user}","gists_url":"https://api.github.com/users/softlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/softlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softlayer/subscriptions","organizations_url":"https://api.github.com/users/softlayer/orgs","repos_url":"https://api.github.com/users/softlayer/repos","events_url":"https://api.github.com/users/softlayer/events{/privacy}","received_events_url":"https://api.github.com/users/softlayer/received_events","type":"Organization","site_admin":false},"repo":{"id":26869437,"name":"sl-ember-components","full_name":"softlayer/sl-ember-components","owner":{"login":"softlayer","id":49550,"avatar_url":"https://avatars.githubusercontent.com/u/49550?v=3","gravatar_id":"","url":"https://api.github.com/users/softlayer","html_url":"https://github.com/softlayer","followers_url":"https://api.github.com/users/softlayer/followers","following_url":"https://api.github.com/users/softlayer/following{/other_user}","gists_url":"https://api.github.com/users/softlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/softlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softlayer/subscriptions","organizations_url":"https://api.github.com/users/softlayer/orgs","repos_url":"https://api.github.com/users/softlayer/repos","events_url":"https://api.github.com/users/softlayer/events{/privacy}","received_events_url":"https://api.github.com/users/softlayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/softlayer/sl-ember-components","description":"An Ember CLI Addon that provides a variety of UI components.","fork":false,"url":"https://api.github.com/repos/softlayer/sl-ember-components","forks_url":"https://api.github.com/repos/softlayer/sl-ember-components/forks","keys_url":"https://api.github.com/repos/softlayer/sl-ember-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/softlayer/sl-ember-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/softlayer/sl-ember-components/teams","hooks_url":"https://api.github.com/repos/softlayer/sl-ember-components/hooks","issue_events_url":"https://api.github.com/repos/softlayer/sl-ember-components/issues/events{/number}","events_url":"https://api.github.com/repos/softlayer/sl-ember-components/events","assignees_url":"https://api.github.com/repos/softlayer/sl-ember-components/assignees{/user}","branches_url":"https://api.github.com/repos/softlayer/sl-ember-components/branches{/branch}","tags_url":"https://api.github.com/repos/softlayer/sl-ember-components/tags","blobs_url":"https://api.github.com/repos/softlayer/sl-ember-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/softlayer/sl-ember-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/softlayer/sl-ember-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/softlayer/sl-ember-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/softlayer/sl-ember-components/statuses/{sha}","languages_url":"https://api.github.com/repos/softlayer/sl-ember-components/languages","stargazers_url":"https://api.github.com/repos/softlayer/sl-ember-components/stargazers","contributors_url":"https://api.github.com/repos/softlayer/sl-ember-components/contributors","subscribers_url":"https://api.github.com/repos/softlayer/sl-ember-components/subscribers","subscription_url":"https://api.github.com/repos/softlayer/sl-ember-components/subscription","commits_url":"https://api.github.com/repos/softlayer/sl-ember-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/softlayer/sl-ember-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/softlayer/sl-ember-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/softlayer/sl-ember-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/softlayer/sl-ember-components/contents/{+path}","compare_url":"https://api.github.com/repos/softlayer/sl-ember-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/softlayer/sl-ember-components/merges","archive_url":"https://api.github.com/repos/softlayer/sl-ember-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/softlayer/sl-ember-components/downloads","issues_url":"https://api.github.com/repos/softlayer/sl-ember-components/issues{/number}","pulls_url":"https://api.github.com/repos/softlayer/sl-ember-components/pulls{/number}","milestones_url":"https://api.github.com/repos/softlayer/sl-ember-components/milestones{/number}","notifications_url":"https://api.github.com/repos/softlayer/sl-ember-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/softlayer/sl-ember-components/labels{/name}","releases_url":"https://api.github.com/repos/softlayer/sl-ember-components/releases{/id}","created_at":"2014-11-19T16:07:47Z","updated_at":"2015-07-06T06:58:39Z","pushed_at":"2015-07-07T17:56:40Z","git_url":"git://github.com/softlayer/sl-ember-components.git","ssh_url":"git@github.com:softlayer/sl-ember-components.git","clone_url":"https://github.com/softlayer/sl-ember-components.git","svn_url":"https://github.com/softlayer/sl-ember-components","homepage":"http://softlayer.github.io/sl-ember-components","size":9343,"stargazers_count":78,"watchers_count":78,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":81,"forks":18,"open_issues":81,"watchers":78,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395"},"html":{"href":"https://github.com/softlayer/sl-ember-components/pull/395"},"issue":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/issues/395"},"comments":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/issues/395/comments"},"review_comments":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395/comments"},"review_comment":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/pulls/395/commits"},"statuses":{"href":"https://api.github.com/repos/softlayer/sl-ember-components/statuses/4d086907f0dc8718a9008af8218cc997633d1e9f"}}}}