ソースを参照

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);
       });