Add tests for the GitRemoveResolver.

This commit is contained in:
André Cruz
2013-04-23 23:19:08 +01:00
parent 3231ac15c9
commit a87969d85f
7 changed files with 199 additions and 25 deletions

View File

@@ -1,6 +1,13 @@
describe('GitFsResolver', function () {
describe('._resolveSelf', function () {
it.skip('should call all the functions necessary to resolve by the correct order');
before(function () {
});
describe('.resolve', function () {
it.skip('should checkout correctly if resolution is a branch');
it.skip('should checkout correctly if resolution is a tag');
it.skip('should checkout correctly if resolution is a commit');
it.skip('should remove any untracked files and directories');
});
describe('._copy', function () {
@@ -8,19 +15,12 @@ describe('GitFsResolver', function () {
it.skip('should not copy over the files specified in the ignore list');
});
describe('._checkout', function () {
it.skip('should checkout correctly if resolution is a branch');
it.skip('should checkout correctly if resolution is a tag');
it.skip('should checkout correctly if resolution is a commit');
it.skip('should remove any untracked files and directories');
});
describe('#fetchRefs', function () {
it('should resolve to the references of the local repository', function () {
it.skip('should resolve to the references of the local repository', function () {
});
it('should cache the results', function () {
it.skip('should cache the results', function () {
});
});