You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
@@ -286,7 +286,7 @@ describe('accordion', function () {
286
286
$compile(element)(scope);
287
287
scope.$digest();
288
288
289
-
groups=element.find('.accordion-group');
289
+
groups=element.find('.panel');
290
290
});
291
291
292
292
it('should have visible group body when the group with isOpen set to true',function(){
@@ -318,7 +318,7 @@ describe('accordion', function () {
318
318
'</accordion>';
319
319
element=$compile(tpl)(scope);
320
320
scope.$digest();
321
-
groups=element.find('.accordion-group');
321
+
groups=element.find('.panel');
322
322
});
323
323
it('transcludes the <accordion-heading> content into the heading link',function(){
324
324
expect(findGroupLink(0).text()).toBe('Heading Element 123 ');
@@ -340,7 +340,7 @@ describe('accordion', function () {
340
340
'</accordion>';
341
341
element=$compile(tpl)(scope);
342
342
scope.$digest();
343
-
groups=element.find('.accordion-group');
343
+
groups=element.find('.panel');
344
344
});
345
345
it('transcludes the <accordion-heading> content into the heading link',function(){
346
346
expect(findGroupLink(0).text()).toBe('Heading Element 123 ');
@@ -355,7 +355,7 @@ describe('accordion', function () {
355
355
it('should clone the accordion-heading for each group',function(){
356
356
element=$compile('<accordion><accordion-group ng-repeat="x in [1,2,3]"><accordion-heading>{{x}}</accordion-heading></accordion-group></accordion>')(scope);
357
357
scope.$digest();
358
-
groups=element.find('.accordion-group');
358
+
groups=element.find('.panel');
359
359
expect(groups.length).toBe(3);
360
360
expect(findGroupLink(0).text()).toBe('1');
361
361
expect(findGroupLink(1).text()).toBe('2');
@@ -368,7 +368,7 @@ describe('accordion', function () {
368
368
it('should clone the accordion-heading for each group',function(){
369
369
element=$compile('<accordion><accordion-group ng-repeat="x in [1,2,3]"><div accordion-heading>{{x}}</div></accordion-group></accordion>')(scope);
0 commit comments