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