{"action":"created","comment":{"url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/comments/84674078","pull_request_review_id":5435814,"id":84674078,"diff_hunk":"@@ -0,0 +1,548 @@\n+import Ember from 'ember';\n+import { moduleForComponent, test } from 'ember-qunit';\n+import hbs from 'htmlbars-inline-precompile';\n+\n+moduleForComponent('flexberry-toggler', 'Integration | Component | flexberry toggler', {\n+  integration: true\n+});\n+\n+test('component renders properly closed', function(assert) {\n+  assert.expect(18);\n+\n+  this.render(hbs`{{#flexberry-toggler\n+  caption=caption\n+  expandedCaption=expandedCaption\n+  collapsedCaption=collapsedCaption\n+  expanded=true\n+  iconClass=iconClass\n+  }}\n+  {{/flexberry-toggler}}`);\n+\n+  // Retrieve component, it's inner <input>.\n+  let $component = this.$().children();\n+  let $togglerTitle = $component.children('.title');\n+  let $togglerI = $togglerTitle.children('i');\n+  let $togglerSpan = $togglerTitle.children('span');\n+  let $togglerContent = $component.children('.content');\n+\n+  // Check wrapper <title>.\n+  assert.strictEqual($component.prop('tagName'), 'DIV', 'Component\\'s wrapper is a <div>');\n+  assert.strictEqual($component.hasClass('flexberry-toggler'), true, 'Component\\'s container has \\'flexberry-toggler\\' css-class');\n+  assert.strictEqual($component.hasClass('ui'), true, 'Component\\'s wrapper has \\'ui\\' css-class');\n+  assert.strictEqual($component.hasClass('accordion'), true, 'Component\\'s wrapper has \\'accordion\\' css-class');\n+  assert.strictEqual($component.hasClass('fluid'), true, 'Component\\'s wrapper has \\'fluid\\' css-class');\n+\n+  // Check <title>.\n+  assert.strictEqual($togglerTitle.length === 1, true, 'Component has inner <title>');\n+  assert.strictEqual($togglerTitle.prop('tagName'), 'DIV', 'Component\\'s wrapper is a <div>');","path":"tests/integration/components/flexberry-toggler-test.js","position":37,"original_position":37,"commit_id":"3f7ec16003d96ed6992ef05ff25f9c88c7734c43","original_commit_id":"3f7ec16003d96ed6992ef05ff25f9c88c7734c43","user":{"login":"SeregaMatin","id":7602229,"avatar_url":"https://avatars.githubusercontent.com/u/7602229?v=3","gravatar_id":"","url":"https://api.github.com/users/SeregaMatin","html_url":"https://github.com/SeregaMatin","followers_url":"https://api.github.com/users/SeregaMatin/followers","following_url":"https://api.github.com/users/SeregaMatin/following{/other_user}","gists_url":"https://api.github.com/users/SeregaMatin/gists{/gist_id}","starred_url":"https://api.github.com/users/SeregaMatin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeregaMatin/subscriptions","organizations_url":"https://api.github.com/users/SeregaMatin/orgs","repos_url":"https://api.github.com/users/SeregaMatin/repos","events_url":"https://api.github.com/users/SeregaMatin/events{/privacy}","received_events_url":"https://api.github.com/users/SeregaMatin/received_events","type":"User","site_admin":false},"body":"Component's title block is a `<div>`","created_at":"2016-10-24T12:18:18Z","updated_at":"2016-10-24T12:18:18Z","html_url":"https://github.com/Flexberry/ember-flexberry/pull/287#discussion_r84674078","pull_request_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287","_links":{"self":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/comments/84674078"},"html":{"href":"https://github.com/Flexberry/ember-flexberry/pull/287#discussion_r84674078"},"pull_request":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287"}}},"pull_request":{"url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287","id":90552511,"html_url":"https://github.com/Flexberry/ember-flexberry/pull/287","diff_url":"https://github.com/Flexberry/ember-flexberry/pull/287.diff","patch_url":"https://github.com/Flexberry/ember-flexberry/pull/287.patch","issue_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/287","number":287,"state":"open","locked":false,"title":"Feature 119276 flexberry toggler integration test","user":{"login":"PashaMasalkin","id":15763118,"avatar_url":"https://avatars.githubusercontent.com/u/15763118?v=3","gravatar_id":"","url":"https://api.github.com/users/PashaMasalkin","html_url":"https://github.com/PashaMasalkin","followers_url":"https://api.github.com/users/PashaMasalkin/followers","following_url":"https://api.github.com/users/PashaMasalkin/following{/other_user}","gists_url":"https://api.github.com/users/PashaMasalkin/gists{/gist_id}","starred_url":"https://api.github.com/users/PashaMasalkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PashaMasalkin/subscriptions","organizations_url":"https://api.github.com/users/PashaMasalkin/orgs","repos_url":"https://api.github.com/users/PashaMasalkin/repos","events_url":"https://api.github.com/users/PashaMasalkin/events{/privacy}","received_events_url":"https://api.github.com/users/PashaMasalkin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-24T05:47:18Z","updated_at":"2016-10-24T12:18:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f205ee41ae69a0e5d85c6b9382ae6f4cbca5f504","assignee":{"login":"SeregaMatin","id":7602229,"avatar_url":"https://avatars.githubusercontent.com/u/7602229?v=3","gravatar_id":"","url":"https://api.github.com/users/SeregaMatin","html_url":"https://github.com/SeregaMatin","followers_url":"https://api.github.com/users/SeregaMatin/followers","following_url":"https://api.github.com/users/SeregaMatin/following{/other_user}","gists_url":"https://api.github.com/users/SeregaMatin/gists{/gist_id}","starred_url":"https://api.github.com/users/SeregaMatin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeregaMatin/subscriptions","organizations_url":"https://api.github.com/users/SeregaMatin/orgs","repos_url":"https://api.github.com/users/SeregaMatin/repos","events_url":"https://api.github.com/users/SeregaMatin/events{/privacy}","received_events_url":"https://api.github.com/users/SeregaMatin/received_events","type":"User","site_admin":false},"assignees":[{"login":"SeregaMatin","id":7602229,"avatar_url":"https://avatars.githubusercontent.com/u/7602229?v=3","gravatar_id":"","url":"https://api.github.com/users/SeregaMatin","html_url":"https://github.com/SeregaMatin","followers_url":"https://api.github.com/users/SeregaMatin/followers","following_url":"https://api.github.com/users/SeregaMatin/following{/other_user}","gists_url":"https://api.github.com/users/SeregaMatin/gists{/gist_id}","starred_url":"https://api.github.com/users/SeregaMatin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeregaMatin/subscriptions","organizations_url":"https://api.github.com/users/SeregaMatin/orgs","repos_url":"https://api.github.com/users/SeregaMatin/repos","events_url":"https://api.github.com/users/SeregaMatin/events{/privacy}","received_events_url":"https://api.github.com/users/SeregaMatin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287/commits","review_comments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287/comments","review_comment_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/287/comments","statuses_url":"https://api.github.com/repos/Flexberry/ember-flexberry/statuses/3f7ec16003d96ed6992ef05ff25f9c88c7734c43","head":{"label":"Flexberry:feature-119276-flexberry-toggler-integration-test","ref":"feature-119276-flexberry-toggler-integration-test","sha":"3f7ec16003d96ed6992ef05ff25f9c88c7734c43","user":{"login":"Flexberry","id":8894761,"avatar_url":"https://avatars.githubusercontent.com/u/8894761?v=3","gravatar_id":"","url":"https://api.github.com/users/Flexberry","html_url":"https://github.com/Flexberry","followers_url":"https://api.github.com/users/Flexberry/followers","following_url":"https://api.github.com/users/Flexberry/following{/other_user}","gists_url":"https://api.github.com/users/Flexberry/gists{/gist_id}","starred_url":"https://api.github.com/users/Flexberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flexberry/subscriptions","organizations_url":"https://api.github.com/users/Flexberry/orgs","repos_url":"https://api.github.com/users/Flexberry/repos","events_url":"https://api.github.com/users/Flexberry/events{/privacy}","received_events_url":"https://api.github.com/users/Flexberry/received_events","type":"Organization","site_admin":false},"repo":{"id":28228821,"name":"ember-flexberry","full_name":"Flexberry/ember-flexberry","owner":{"login":"Flexberry","id":8894761,"avatar_url":"https://avatars.githubusercontent.com/u/8894761?v=3","gravatar_id":"","url":"https://api.github.com/users/Flexberry","html_url":"https://github.com/Flexberry","followers_url":"https://api.github.com/users/Flexberry/followers","following_url":"https://api.github.com/users/Flexberry/following{/other_user}","gists_url":"https://api.github.com/users/Flexberry/gists{/gist_id}","starred_url":"https://api.github.com/users/Flexberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flexberry/subscriptions","organizations_url":"https://api.github.com/users/Flexberry/orgs","repos_url":"https://api.github.com/users/Flexberry/repos","events_url":"https://api.github.com/users/Flexberry/events{/privacy}","received_events_url":"https://api.github.com/users/Flexberry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Flexberry/ember-flexberry","description":"[WIP] Ember Flexberry Addon - SPA Framework powered by Ember.js","fork":false,"url":"https://api.github.com/repos/Flexberry/ember-flexberry","forks_url":"https://api.github.com/repos/Flexberry/ember-flexberry/forks","keys_url":"https://api.github.com/repos/Flexberry/ember-flexberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Flexberry/ember-flexberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Flexberry/ember-flexberry/teams","hooks_url":"https://api.github.com/repos/Flexberry/ember-flexberry/hooks","issue_events_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/events{/number}","events_url":"https://api.github.com/repos/Flexberry/ember-flexberry/events","assignees_url":"https://api.github.com/repos/Flexberry/ember-flexberry/assignees{/user}","branches_url":"https://api.github.com/repos/Flexberry/ember-flexberry/branches{/branch}","tags_url":"https://api.github.com/repos/Flexberry/ember-flexberry/tags","blobs_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Flexberry/ember-flexberry/statuses/{sha}","languages_url":"https://api.github.com/repos/Flexberry/ember-flexberry/languages","stargazers_url":"https://api.github.com/repos/Flexberry/ember-flexberry/stargazers","contributors_url":"https://api.github.com/repos/Flexberry/ember-flexberry/contributors","subscribers_url":"https://api.github.com/repos/Flexberry/ember-flexberry/subscribers","subscription_url":"https://api.github.com/repos/Flexberry/ember-flexberry/subscription","commits_url":"https://api.github.com/repos/Flexberry/ember-flexberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/Flexberry/ember-flexberry/contents/{+path}","compare_url":"https://api.github.com/repos/Flexberry/ember-flexberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Flexberry/ember-flexberry/merges","archive_url":"https://api.github.com/repos/Flexberry/ember-flexberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Flexberry/ember-flexberry/downloads","issues_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues{/number}","pulls_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls{/number}","milestones_url":"https://api.github.com/repos/Flexberry/ember-flexberry/milestones{/number}","notifications_url":"https://api.github.com/repos/Flexberry/ember-flexberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Flexberry/ember-flexberry/labels{/name}","releases_url":"https://api.github.com/repos/Flexberry/ember-flexberry/releases{/id}","deployments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/deployments","created_at":"2014-12-19T12:36:19Z","updated_at":"2016-04-22T07:47:51Z","pushed_at":"2016-10-24T12:06:24Z","git_url":"git://github.com/Flexberry/ember-flexberry.git","ssh_url":"git@github.com:Flexberry/ember-flexberry.git","clone_url":"https://github.com/Flexberry/ember-flexberry.git","svn_url":"https://github.com/Flexberry/ember-flexberry","homepage":"","size":10150,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"Flexberry:develop","ref":"develop","sha":"feb11a698f203a418b514cdd768997bec67356aa","user":{"login":"Flexberry","id":8894761,"avatar_url":"https://avatars.githubusercontent.com/u/8894761?v=3","gravatar_id":"","url":"https://api.github.com/users/Flexberry","html_url":"https://github.com/Flexberry","followers_url":"https://api.github.com/users/Flexberry/followers","following_url":"https://api.github.com/users/Flexberry/following{/other_user}","gists_url":"https://api.github.com/users/Flexberry/gists{/gist_id}","starred_url":"https://api.github.com/users/Flexberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flexberry/subscriptions","organizations_url":"https://api.github.com/users/Flexberry/orgs","repos_url":"https://api.github.com/users/Flexberry/repos","events_url":"https://api.github.com/users/Flexberry/events{/privacy}","received_events_url":"https://api.github.com/users/Flexberry/received_events","type":"Organization","site_admin":false},"repo":{"id":28228821,"name":"ember-flexberry","full_name":"Flexberry/ember-flexberry","owner":{"login":"Flexberry","id":8894761,"avatar_url":"https://avatars.githubusercontent.com/u/8894761?v=3","gravatar_id":"","url":"https://api.github.com/users/Flexberry","html_url":"https://github.com/Flexberry","followers_url":"https://api.github.com/users/Flexberry/followers","following_url":"https://api.github.com/users/Flexberry/following{/other_user}","gists_url":"https://api.github.com/users/Flexberry/gists{/gist_id}","starred_url":"https://api.github.com/users/Flexberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flexberry/subscriptions","organizations_url":"https://api.github.com/users/Flexberry/orgs","repos_url":"https://api.github.com/users/Flexberry/repos","events_url":"https://api.github.com/users/Flexberry/events{/privacy}","received_events_url":"https://api.github.com/users/Flexberry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Flexberry/ember-flexberry","description":"[WIP] Ember Flexberry Addon - SPA Framework powered by Ember.js","fork":false,"url":"https://api.github.com/repos/Flexberry/ember-flexberry","forks_url":"https://api.github.com/repos/Flexberry/ember-flexberry/forks","keys_url":"https://api.github.com/repos/Flexberry/ember-flexberry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Flexberry/ember-flexberry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Flexberry/ember-flexberry/teams","hooks_url":"https://api.github.com/repos/Flexberry/ember-flexberry/hooks","issue_events_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/events{/number}","events_url":"https://api.github.com/repos/Flexberry/ember-flexberry/events","assignees_url":"https://api.github.com/repos/Flexberry/ember-flexberry/assignees{/user}","branches_url":"https://api.github.com/repos/Flexberry/ember-flexberry/branches{/branch}","tags_url":"https://api.github.com/repos/Flexberry/ember-flexberry/tags","blobs_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/refs{/sha}","trees_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Flexberry/ember-flexberry/statuses/{sha}","languages_url":"https://api.github.com/repos/Flexberry/ember-flexberry/languages","stargazers_url":"https://api.github.com/repos/Flexberry/ember-flexberry/stargazers","contributors_url":"https://api.github.com/repos/Flexberry/ember-flexberry/contributors","subscribers_url":"https://api.github.com/repos/Flexberry/ember-flexberry/subscribers","subscription_url":"https://api.github.com/repos/Flexberry/ember-flexberry/subscription","commits_url":"https://api.github.com/repos/Flexberry/ember-flexberry/commits{/sha}","git_commits_url":"https://api.github.com/repos/Flexberry/ember-flexberry/git/commits{/sha}","comments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/comments{/number}","issue_comment_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/comments{/number}","contents_url":"https://api.github.com/repos/Flexberry/ember-flexberry/contents/{+path}","compare_url":"https://api.github.com/repos/Flexberry/ember-flexberry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Flexberry/ember-flexberry/merges","archive_url":"https://api.github.com/repos/Flexberry/ember-flexberry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Flexberry/ember-flexberry/downloads","issues_url":"https://api.github.com/repos/Flexberry/ember-flexberry/issues{/number}","pulls_url":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls{/number}","milestones_url":"https://api.github.com/repos/Flexberry/ember-flexberry/milestones{/number}","notifications_url":"https://api.github.com/repos/Flexberry/ember-flexberry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Flexberry/ember-flexberry/labels{/name}","releases_url":"https://api.github.com/repos/Flexberry/ember-flexberry/releases{/id}","deployments_url":"https://api.github.com/repos/Flexberry/ember-flexberry/deployments","created_at":"2014-12-19T12:36:19Z","updated_at":"2016-04-22T07:47:51Z","pushed_at":"2016-10-24T12:06:24Z","git_url":"git://github.com/Flexberry/ember-flexberry.git","ssh_url":"git@github.com:Flexberry/ember-flexberry.git","clone_url":"https://github.com/Flexberry/ember-flexberry.git","svn_url":"https://github.com/Flexberry/ember-flexberry","homepage":"","size":10150,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287"},"html":{"href":"https://github.com/Flexberry/ember-flexberry/pull/287"},"issue":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/287"},"comments":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/Flexberry/ember-flexberry/statuses/3f7ec16003d96ed6992ef05ff25f9c88c7734c43"}}}}
{"actor":{"display_login":"SeregaMatin"}}