couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject fauxton commit: updated refs/heads/master to 968f714
Date Tue, 28 Jun 2016 14:23:37 GMT
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.smith@gmail.com>
Authored: Tue Jun 28 15:46:27 2016 +0200
Committer: Garren Smith <garren.smith@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 () {


Mime
View raw message