From 2b66986a587b9cc970489a6e9490971aa9008f27 Mon Sep 17 00:00:00 2001 From: Will Frew Date: Mon, 23 Mar 2015 12:31:10 +0000 Subject: [PATCH] Split concurrency test into smaller tests cases --- test/integration/multifetch.options.spec.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/integration/multifetch.options.spec.js b/test/integration/multifetch.options.spec.js index a8a7c12..cc33c3b 100644 --- a/test/integration/multifetch.options.spec.js +++ b/test/integration/multifetch.options.spec.js @@ -275,23 +275,31 @@ describe('multifetch.options', function() { chai.expect(body).to.have.property('_error', false); }); - it('should fetch all resources', function() { + it('should fetch api resource', function() { chai.expect(body) .to.have.property('api') .to.have.property('statusCode', 200); + }); + it('should fetch user_1 resource', function() { chai.expect(body) .to.have.property('user_1') .to.have.property('statusCode', 200); + }); + it('should fetch user_2 resource', function() { chai.expect(body) .to.have.property('user_2') .to.have.property('statusCode', 200); + }); + it('should fetch user_3 resource', function() { chai.expect(body) .to.have.property('user_3') .to.have.property('statusCode', 200); + }); + it('should fetch user_4 resource', function() { chai.expect(body) .to.have.property('readme') .to.have.property('statusCode', 200);