Use Phantom as standard for tests

This commit is contained in:
Matt Styles
2013-05-11 21:24:29 +01:00
parent 165bf69186
commit 72d331102a
3 changed files with 4 additions and 3 deletions

View File

@@ -41,7 +41,8 @@ autoWatch = false;
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
browsers = ['Chrome'];
//browsers = ['Chrome', 'Firefox','Safari'];
browsers = ['PhantomJS'];
// If browser does not capture in given timeout [ms], kill it
captureTimeout = 5000;

View File

@@ -47,7 +47,8 @@ autoWatch = false;
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
browsers = ['Chrome'];
//browsers = ['Chrome', 'Firefox', 'Safari'];
browsers = ['PhantomJS'];
// If browser does not capture in given timeout [ms], kill it
captureTimeout = 5000;

View File

@@ -15,7 +15,6 @@ var server = module.exports = express();
// Configure Server
server.configure( function() {
server.set( 'port', process.env.PORT || appConfig.server.port );
// @todo add hogan to serve views
server.set( 'views', path.join( __dirname, './../app' ) );
server.engine( 'html', cons.hogan );
server.set( 'view engine', 'html' );