瀏覽代碼

Fix context test

Steven Silvester 8 年之前
父節點
當前提交
e5376f341e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/src/docregistry/context.spec.ts

+ 1 - 1
test/src/docregistry/context.spec.ts

@@ -388,7 +388,7 @@ describe('docregistry/context', () => {
     describe('#resolveUrl()', () => {
 
       it('should resolve a relative url to a correct server path', (done) => {
-        context.resolve('./foo').then(path => {
+        context.resolveUrl('./foo').then(path => {
           expect(path).to.be('foo');
         }).then(done, done);
       });