From f71d08bdaf33a4ffff0e4f6f89297e824f30a983 Mon Sep 17 00:00:00 2001 From: Will Frew Date: Mon, 9 Mar 2015 18:32:29 +0000 Subject: [PATCH] Fix test to ensure multifetch doesn't call iteslf --- test/integration/multifetch.spec.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/integration/multifetch.spec.js b/test/integration/multifetch.spec.js index 61b4a12..239beff 100644 --- a/test/integration/multifetch.spec.js +++ b/test/integration/multifetch.spec.js @@ -311,10 +311,14 @@ describe('multifetch', function() { }); }); - it('should ignore multifetch resource', function() { + it('should be a successful response', function() { chai.expect(body).to.have.property('_error', false); }); + it('should ignore multifetch resource', function() { + chai.expect(body).not.to.have.property('multifetch'); + }); + it('should contain user album', function() { chai.expect(body) .to.have.property('album') @@ -348,7 +352,7 @@ describe('multifetch', function() { }); }); - it('should ignore multifetch resource', function() { + it('should be a successful response', function() { chai.expect(body).to.have.property('_error', false); });