summaryrefslogtreecommitdiffstats
path: root/test/assertions.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-18 12:13:24 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-18 12:13:24 +0100
commit576d773fecf5ec6a7ebf5b089ff7a03b102468eb (patch)
treec6967bf852bc8405e410c7f738f0c00c6c728531 /test/assertions.js
parent58a930e456860a025cb8565effe73fb3ae437882 (diff)
downloadgitbook-576d773fecf5ec6a7ebf5b089ff7a03b102468eb.zip
gitbook-576d773fecf5ec6a7ebf5b089ff7a03b102468eb.tar.gz
gitbook-576d773fecf5ec6a7ebf5b089ff7a03b102468eb.tar.bz2
Correctly map filenames for website output
Diffstat (limited to 'test/assertions.js')
-rw-r--r--test/assertions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assertions.js b/test/assertions.js
index b936995..56da249 100644
--- a/test/assertions.js
+++ b/test/assertions.js
@@ -6,7 +6,7 @@ var should = require('should');
// Assertions to test if an Output has generated a file
should.Assertion.add('file', function(file, description) {
this.params = {
- actual: this.obj.toString(),
+ actual: this.obj.root(),
operator: 'have file ' + file,
message: description
};