[Pkg-javascript-commits] [node-mocks-http] 173/296: updated; unit test to reflect updates in WritableStream
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 571ed6ba07637d631d1a5e7006234f29f64e192e
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date: Wed Apr 8 08:51:10 2015 +0800
updated; unit test to reflect updates in WritableStream
---
test/lib/mockWritableStream.spec.js | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/lib/mockWritableStream.spec.js b/test/lib/mockWritableStream.spec.js
index f382b22..7909b13 100644
--- a/test/lib/mockWritableStream.spec.js
+++ b/test/lib/mockWritableStream.spec.js
@@ -22,9 +22,6 @@ describe('mockWritableStream', function() {
});
it('should expose "MockWritableStream" prototype', function() {
- expect(mockWritableStream).to.have.property('writable');
- expect(mockWritableStream.writable).to.be.a('function');
-
expect(mockWritableStream).to.have.property('end');
expect(mockWritableStream.end).to.be.a('function');
@@ -36,7 +33,6 @@ describe('mockWritableStream', function() {
});
it('should return undefined when methods called', function() {
- expect(mockWritableStream.writable()).to.be.undefined;
expect(mockWritableStream.end()).to.be.undefined;
expect(mockWritableStream.destroy()).to.be.undefined;
expect(mockWritableStream.destroySoon()).to.be.undefined;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list