Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require.paths.unshift(__dirname + '/../modules', __dirname + '/../lib/node', __dirname, __dirname + '/../');
- var app = require('app');
- module.exports = {
- 'simple test': function(assert){
- // Simple equality check
- assert.equal(6, 'foobar'.length);
- // Check that node stack is setup properly
- assert.response(app, {
- url: '/',
- timeout: 500
- }, {
- body: /Hello/,
- });
- }
- }
Add Comment
Please, Sign In to add comment