Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nDmitry committed Oct 25, 2014
1 parent f8a2c01 commit 2bfb4da
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/test-app.js
Expand Up @@ -27,10 +27,8 @@ describe('app generator', function() {

it('creates expected files', function(done) {
var expected = [
'pages/index.ejs',
'pages/partials/header.ejs',
'pages/partials/footer.ejs',
'pages/partials/scripts.ejs',
'pages/layout.jade',
'pages/index.jade',
'js/app.js',
'.gitignore',
'.editorconfig',
Expand All @@ -53,7 +51,7 @@ describe('app generator', function() {

it('replaces templates variables', function(done) {
var expected = [
['pages/index.ejs', /<title>Temp<\/title>/, /lang="ru"/],
['pages/layout.jade', /title Temp/, /lang="ru"/],
['bower.json', /"name": "temp"/],
['package.json', /"name": "temp"/],
];
Expand Down

0 comments on commit 2bfb4da

Please sign in to comment.