diff --git a/test/3.x/async_helpers.js b/test/3.x/async_helpers.js index 47acaa5..439ac2f 100644 --- a/test/3.x/async_helpers.js +++ b/test/3.x/async_helpers.js @@ -8,6 +8,8 @@ var fs = require('fs'); var app = null +suite('express 3.x async helpers') + before(function () { var express = require('express') var hbs = require('../../').create() @@ -55,8 +57,6 @@ before(function () { }) }) -suite('express 3.x async helpers') - test('index', function (done) { request(app) .get('/') diff --git a/test/3.x/no_layout_app.js b/test/3.x/no_layout_app.js index 1a0cf12..c574e34 100644 --- a/test/3.x/no_layout_app.js +++ b/test/3.x/no_layout_app.js @@ -9,6 +9,8 @@ var root = process.cwd(); var app = null +suite('express 3.x no layout') + before(function () { var express = require('express') var hbs = require('../../') @@ -59,8 +61,6 @@ before(function () { }) }) -suite('express 3.x no layout') - test('index', function(done) { request(app) .get('/') diff --git a/test/3.x/view_engine.js b/test/3.x/view_engine.js index d244f8d..96872e4 100644 --- a/test/3.x/view_engine.js +++ b/test/3.x/view_engine.js @@ -8,6 +8,8 @@ var fs = require('fs'); var app = null +suite('express 3.x view engine') + before(function () { var express = require('express') var hbs = require('../../') @@ -40,8 +42,6 @@ before(function () { }) }) -suite('express 3.x view engine') - test('index', function(done) { request(app) .get('/') diff --git a/test/4.x/async_helpers.js b/test/4.x/async_helpers.js index 1a192e8..9b8b30f 100644 --- a/test/4.x/async_helpers.js +++ b/test/4.x/async_helpers.js @@ -8,6 +8,8 @@ var fs = require('fs'); var app = null +suite('express 4.x async helpers') + before(function () { var express = require('express') var hbs = require('../../').create() @@ -68,8 +70,6 @@ before(function () { }) }) -suite('express 4.x async helpers') - test('index', function (done) { request(app) .get('/') diff --git a/test/4.x/no_layout_app.js b/test/4.x/no_layout_app.js index 61e1dfd..dd89a60 100644 --- a/test/4.x/no_layout_app.js +++ b/test/4.x/no_layout_app.js @@ -10,6 +10,8 @@ var path = require('path'); var app = null +suite('express 4.x no layout') + before(function () { var express = require('express') var hbs = require('../../') @@ -62,8 +64,6 @@ before(function () { }) }) -suite('express 4.x no layout') - test('index', function(done) { request(app) .get('/') diff --git a/test/4.x/view_engine.js b/test/4.x/view_engine.js index 9c06c01..b89a50c 100644 --- a/test/4.x/view_engine.js +++ b/test/4.x/view_engine.js @@ -8,6 +8,8 @@ var fs = require('fs'); var app = null +suite('express 4.x view engine') + before(function () { var express = require('express') var hbs = require('../../') @@ -40,8 +42,6 @@ before(function () { }) }) -suite('express 4.x view engine') - test('index', function(done) { request(app) .get('/')