Browse Source

Add a simple test for refresh completion

Steven Silvester 8 years ago
parent
commit
3596f8e5e3
1 changed files with 8 additions and 0 deletions
  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()', () => {
     describe('#cd()', () => {
 
 
       it('should change directory', (done) => {
       it('should change directory', (done) => {