couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [3/4] fauxton commit: updated refs/heads/master to 5ffee62
Date Mon, 21 Nov 2016 09:52:14 GMT
remove test that is just testing react


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

Branch: refs/heads/master
Commit: 712201d85c3734b60ad44101b9c5925ae9ca257b
Parents: 1690cbb
Author: Garren Smith <garren.smith@gmail.com>
Authored: Mon Nov 21 10:34:40 2016 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Nov 21 10:34:40 2016 +0200

----------------------------------------------------------------------
 app/addons/verifyinstall/tests/componentsSpec.react.jsx | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/712201d8/app/addons/verifyinstall/tests/componentsSpec.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/verifyinstall/tests/componentsSpec.react.jsx b/app/addons/verifyinstall/tests/componentsSpec.react.jsx
index 2d33160..4067bd4 100644
--- a/app/addons/verifyinstall/tests/componentsSpec.react.jsx
+++ b/app/addons/verifyinstall/tests/componentsSpec.react.jsx
@@ -108,14 +108,6 @@ describe('VerifyInstallButton', function () {
     assert.ok(spy.calledOnce);
   });
 
-  it('does not call verify function when verification already ongoing', function () {
-    var stub = { func: function () { } };
-    var spy = sinon.spy(stub, 'func');
-    el = TestUtils.renderIntoDocument(<Components.VerifyInstallButton verify={stub.func}
isVerifying={true} />, container);
-    TestUtils.Simulate.click($(ReactDOM.findDOMNode(el))[0]);
-    assert.notOk(spy.calledOnce);
-  });
-
   it('shows appropriate default label', function () {
     var stub = { func: function () { } };
     el = TestUtils.renderIntoDocument(<Components.VerifyInstallButton verify={stub.func}
isVerifying={false} />, container);


Mime
View raw message