Skip to content

Commit

Permalink
test(all): fix tests after normalize change
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 8, 2016
1 parent 4d5b1f6 commit baa0648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('the framework config', () => {
});
});

aurelia.loader.normalizeSync = jasmine.createSpy('normalizeSync').and.callFake(input => input);
aurelia.loader.normalize = jasmine.createSpy('normalize').and.callFake(input => Promise.resolve(input));
aurelia.loader.loadModule = loadModule;
});

Expand Down Expand Up @@ -190,7 +190,7 @@ describe('the framework config', () => {
mockContainer.hasResolver.and.returnValue(true);
mockContainer.get.and.returnValue(mockViewEngine);

mockLoader.normalizeSync = jasmine.createSpy('normalizeSync').and.callFake(input => input);
mockLoader.normalize = jasmine.createSpy('normalize').and.callFake(input => Promise.resolve(input));
aurelia = new Aurelia(mockLoader, mockContainer, mockResources);
});

Expand Down

0 comments on commit baa0648

Please sign in to comment.