From 7ff243baed8d71476ff0da3d31ce893b6683a828 Mon Sep 17 00:00:00 2001 From: brianc Date: Tue, 21 Dec 2010 00:11:51 -0600 Subject: [PATCH] failing test for not calling teardown --- test/initial-tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/initial-tests.js b/test/initial-tests.js index 5e82233..7e6994a 100644 --- a/test/initial-tests.js +++ b/test/initial-tests.js @@ -100,10 +100,10 @@ test('action setup', function() { context.should.equal(1) next() }, - teardown: function(context, next) { + teardown: should.call(function(context, next) { arg.should.equal(1) next() - } + }) }] }) bm(should.call(function() {