Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 076229d

Browse files
j-rewertsclayreimann
authored andcommitted
Fixed null ref test failure.
1 parent 64a9223 commit 076229d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/repository.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ describe('Repository', function() {
169169

170170
it('should fail when null ref is passed', function(done) {
171171
remoteRepo.getSingleCommit(null, assertFailure(done, function(err) {
172-
expect(err.response.status).to.be(404);
172+
expect(err.response.status).to.be(422);
173173
done();
174174
}));
175175
});

0 commit comments

Comments
 (0)