]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Included done callback in describe call properly.
authorMarius Olbertz <marius.olbertz@gmail.com>
Thu, 29 Sep 2016 05:26:08 +0000 (07:26 +0200)
committerMarius Olbertz <marius.olbertz@gmail.com>
Thu, 29 Sep 2016 05:26:08 +0000 (07:26 +0200)
test/javascript/components/accordion.js

index b5a10f4f29cf428776f3b656416c5b0f54a2ee8f..83c44c9d32c843c1fa1476588c38e5f7bb66bf5a 100644 (file)
@@ -40,7 +40,7 @@ describe('Accordion', function() {
     });
   });
 
-  describe('up()', function() {
+  describe('up()', function(done) {
     it('closes the targeted container if allowAllClosed is true', function() {
       $html = $(template).appendTo('body');
       plugin = new Foundation.Accordion($html, {allowAllClosed: true});
@@ -117,7 +117,7 @@ describe('Accordion', function() {
     });
   });
 
-  describe('toggle()', function() {
+  describe('toggle()', function(done) {
     it('closes the only open container if allowAllClosed is true', function() {
       $html = $(template).appendTo('body');
       plugin = new Foundation.Accordion($html, {allowAllClosed: true});