Skip to content

Commit

Permalink
Initial app tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vesln committed Feb 12, 2012
1 parent 48481c9 commit 3dde6a5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/app.js
@@ -0,0 +1,18 @@
/*!
* let - Force timeouts.
*
* Veselin Todorov <hi@vesln.com>
* MIT Licesnse.
*/

/**
* Dependencies.
*/
var flatiron = require('flatiron');

/**
* Application.
*
* @type {Object}
*/
var app = module.exports = flatiron.app;
27 changes: 27 additions & 0 deletions test/app.test.js
@@ -0,0 +1,27 @@
/*!
* let - Force timeouts.
*
* Veselin Todorov <hi@vesln.com>
* MIT Licesnse.
*/

/**
* Support.
*/
var jack = require('jack');
var should = require('chai').should();
var flatiron = require('flatiron');

console.log(flatiron);
/**
* Context.
*/
var app = require('../lib/app.js');

describe('app', function() {
it('should be a flatiron app', function() {
app.should.eql(flatiron.app);
});
});


0 comments on commit 3dde6a5

Please sign in to comment.