Permalink
Browse files

failing test for not calling teardown

  • Loading branch information...
1 parent e035cdc commit 7ff243baed8d71476ff0da3d31ce893b6683a828 @brianc committed Dec 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/initial-tests.js
View
@@ -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() {

0 comments on commit 7ff243b

Please sign in to comment.