Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 6583275ad -> 968f714f2


add done() in beforeEach for permissions


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/968f714f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/968f714f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/968f714f

Branch: refs/heads/master
Commit: 968f714f24678cfef99d1bce34f7feb20a3a9acf
Parents: 6583275
Author: Garren Smith <garren.sm...@gmail.com>
Authored: Tue Jun 28 15:46:27 2016 +0200
Committer: Garren Smith <garren.sm...@gmail.com>
Committed: Tue Jun 28 15:46:27 2016 +0200

----------------------------------------------------------------------
 app/addons/permissions/tests/componentsSpec.react.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/968f714f/app/addons/permissions/tests/componentsSpec.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/permissions/tests/componentsSpec.react.jsx 
b/app/addons/permissions/tests/componentsSpec.react.jsx
index 6992de4..ffc1c81 100644
--- a/app/addons/permissions/tests/componentsSpec.react.jsx
+++ b/app/addons/permissions/tests/componentsSpec.react.jsx
@@ -24,7 +24,7 @@ var restore = utils.restore;
 
 describe('Permissions Components', function () {
 
-  beforeEach(function () {
+  beforeEach((done) => {
     var databaseName = 'permissions-test';
     var database = new Databases.Model({ id: databaseName });
     Actions.editPermissions(
@@ -35,6 +35,7 @@ describe('Permissions Components', function () {
     );
 
     var savePermissionsStub = sinon.stub(Actions, 'savePermissions');
+    done();
   });
 
   afterEach(function () {

Reply via email to