Sha256: 1a2cb17746c7bb5fa200defff47fc243b5d4e98a6c4dcc4fee5df7f83844db09

Contents?: true

Size: 441 Bytes

Versions: 9

Compression:

Stored size: 441 Bytes

Contents

/*
  This is an example of a unit test using the CoreTest Qunit personality. To
  convert an existing Qunit test just add the core-test require to the top of 
  the file.  
*/

require('core-test/qunit');

var T = {};

module('Qunit Example', {
  setup: function() {
    T.foo = 'foo';
  },
  
  teardown: function() {
    T.foo = 'unfoo';
  }
});

test('T.foo should be foo', function() {
  equals(T.foo, 'foo', 'T.foo should be set');
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spade-0.1.0 examples/web-app/tests/qunit-test.js
spade-0.0.8.1 examples/web-app/tests/qunit-test.js
spade-0.0.7 examples/web-app/tests/qunit-test.js
spade-0.0.6 examples/web-app/tests/qunit-test.js
spade-0.0.5 examples/web-app/tests/qunit-test.js
spade-0.0.4 examples/web-app/tests/qunit-test.js
spade-0.0.3 examples/web-app/tests/qunit-test.js
spade-0.0.2 examples/web-app/tests/qunit-test.js
spade-0.0.1 examples/web-app/tests/qunit-test.js