Skip to content

Commit

Permalink
Merge branch 'jmealo-twig-support'
Browse files Browse the repository at this point in the history
  • Loading branch information
sgress454 committed Jul 2, 2014
2 parents 0b1d442 + 609f79e commit d7b22df
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/integration/new.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,19 +166,5 @@ describe('New app generator', function() {
});
});
});

describe('sails new <appname> with options --template=twig', function() {

it('should create new app with twig templates', function(done) {

exec(sailsbin + ' new ' + appName + ' --template=twig', function(err) {
if (err) { return done(new Error(err)); }

var viewConfig = fs.readFileSync('./' + appName + '/config/views.js', 'utf8');
assert(viewConfig.indexOf('twig') !== -1, 'configuration file is incorrect');
done();
});
});
});
});

0 comments on commit d7b22df

Please sign in to comment.