From 42dc5527434af25156b388cd31b5b51374492777 Mon Sep 17 00:00:00 2001 From: Noah Portes Chaikin Date: Thu, 26 Mar 2015 16:09:34 -0400 Subject: [PATCH] Repair generatorMissing test. --- test/test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test.js b/test/test.js index 639507a..33a8de1 100644 --- a/test/test.js +++ b/test/test.js @@ -1726,16 +1726,16 @@ describe('template', } ).then( function (template) { - return template.run(target, 'foo'); + return template.run(target, 'foo2'); } ).catch( function (error) { - error.toString().should.eq('Error: `foo` is not a generator in this template'); - return template.remove(name); - } - ).then( - function () { - return rimraf(target, done); + error.toString().should.eq('Error: `foo2` is not a generator in this template'); + return template.remove(name).then( + function () { + return rimraf(target, done); + } + ); } ) }