Skip to content

Commit

Permalink
add very basic test
Browse files Browse the repository at this point in the history
see #118
  • Loading branch information
duncdrum committed Sep 26, 2018
1 parent 40bd5b5 commit 438b6ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ module.exports = class extends Generator {
)
this.fs.copyTpl(
this.templatePath('exist-teipub/transform/' + this.props.odd + '*'),
this.destinationPath('transform/'),{
this.destinationPath('transform/'), {
short: this.props.short,
defcoll: this.props.defcoll,
odd: 'resources/odd'
Expand Down
6 changes: 6 additions & 0 deletions test/generated-pkg/app-publisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ describe('tei-publisher app', function () {
assert.fileContent('collection.xconf', 'tei:div')
done()
})

it('should not depend on tei-pulisher', function (done) {
assert.noFileContent('transform/teipublisher-web-main.xql', '/db/apps/tei-publisher/transform')
done()
})

})

describe('markup files are well-formed', function () {
Expand Down

0 comments on commit 438b6ea

Please sign in to comment.