Skip to content

Commit

Permalink
ic:fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Jan 11, 2017
1 parent 5437b20 commit 8a73e75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cms/templates/template.js
Expand Up @@ -238,8 +238,8 @@ describe('cmsTemplates', function() {
var stubReadFileSync = sinonInstance.stub(fse, 'readFileSync');
stubReadFileSync.returns("test")

var template = cmsTemplates.template.includePartials("{{test}}", {"test" : "ok.html"})
console.log(template)
var template = cmsTemplates.template.includePartials("{{abe type='import' file='{{test}}'}}", {"test" : "test.html"})
fse.readFileSync.restore()
chai.expect(template).to.be.equal("test")
});

Expand Down

0 comments on commit 8a73e75

Please sign in to comment.