test(aio): fix test descriptions for ordering of processors

This commit is contained in:
Peter Bacon Darwin
2017-03-21 10:57:58 +00:00
committed by Miško Hevery
parent 20aab64c65
commit fd7b855cfc
5 changed files with 9 additions and 9 deletions

View File

@ -16,12 +16,12 @@ describe('generateKeywords processor', () => {
expect(processor.$process).toBeDefined();
});
it('should run after "paths-computed"', () => {
it('should run after the correct processor', () => {
const processor = processorFactory(mockLogger, mockReadFilesProcessor);
expect(processor.$runAfter).toEqual(['paths-computed']);
});
it('should run before "rendering-docs"', () => {
it('should run before the correct processor', () => {
const processor = processorFactory(mockLogger, mockReadFilesProcessor);
expect(processor.$runBefore).toEqual(['rendering-docs']);
});