fix .addAll

This commit is contained in:
2016-12-31 23:17:03 +01:00
parent 07fd9b9fa7
commit 871fd55c5c
5 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -66,10 +66,10 @@ describe('smartgit', function () {
describe('.add', function () {
it('should add a file to an existing repository', function () {
shelljs.exec(`(cd ${paths.temp1} && cp ../test.js .)`)
testGitRepo.addAll(paths.temp1)
testGitRepo.addAll()
})
})
describe('.check()', function(done) {
describe('.check()', function() {
it('should check a git repo', function() {
let checkResult = testGitRepo.check()
should(checkResult).be.true()