diff --git a/test/repository.spec.js b/test/repository.spec.js index ef5101cf..40d43397 100644 --- a/test/repository.spec.js +++ b/test/repository.spec.js @@ -169,7 +169,7 @@ describe('Repository', function() { it('should fail when null ref is passed', function(done) { remoteRepo.getSingleCommit(null, assertFailure(done, function(err) { - expect(err.response.status).to.be(404); + expect(err.response.status).to.be(422); done(); })); });