Skip to content

Commit

Permalink
Split concurrency test into smaller tests cases
Browse files Browse the repository at this point in the history
  • Loading branch information
willfrew committed Mar 23, 2015
1 parent 6772da2 commit 2b66986
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/integration/multifetch.options.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2b66986

Please sign in to comment.