Permalink
Browse files

test: port super test to mocha

  • Loading branch information...
1 parent f369231 commit ac97580e636672215d6348b381b3377b30c61d52 @indutny indutny committed Jun 13, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 test/unit/super-test.js
@@ -2,10 +2,10 @@ var common = require('../fixtures/common'),
fs = require('fs'),
assert = require('assert');
-exports['super test'] = function(test) {
- var apply = common.render('super-2').apply;
+suite('Super/extends', function () {
+ test('basic extension', function () {
+ var apply = common.render('super-2').apply;
- assert.equal(apply.call({ name: 'main' }), 'ok');
-
- test.done();
-};
+ assert.equal(apply.call({ name: 'main' }), 'ok');
+ });
+});

0 comments on commit ac97580

Please sign in to comment.