Explorar o código

Add a simple test for refresh completion

Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
3596f8e5e3
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      test/src/filebrowser/model.spec.ts

+ 8 - 0
test/src/filebrowser/model.spec.ts

@@ -187,6 +187,14 @@ describe('filebrowser/model', () => {
 
     });
 
+    describe('#refresh()', () => {
+
+      it('should refresh the contents', (done) => {
+        model.refresh().then(done, done);
+      });
+
+    });
+
     describe('#cd()', () => {
 
       it('should change directory', (done) => {