Fix bug in the hasNew of the GitResolver.

This commit is contained in:
André Cruz
2013-05-01 15:34:15 +01:00
parent 6b7df8fd50
commit 0c7e593370
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ describe('GitResolver', function () {
}));
GitResolver.fetchRefs = function () {
return Q.resolve([
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa refs/heads/master'
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb refs/heads/master' // same commit hash on purpose
]);
};
@@ -71,7 +71,7 @@ describe('GitResolver', function () {
return Q.resolve([
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa refs/heads/master',
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb refs/tags/1.0.0',
'cccccccccccccccccccccccccccccccccccccccc refs/tags/1.0.1'
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb refs/tags/1.0.1' // same commit hash on purpose
]);
};