mirror of
https://github.com/vale981/metalsmith-layouts
synced 2025-03-05 09:31:39 -05:00
Refactor partials tests
This commit is contained in:
parent
fb8b97eae2
commit
f7c064c7ea
6 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ describe('metalsmith-layouts', function(){
|
|||
});
|
||||
|
||||
it('should be capable of processing partials multiple times', function(done){
|
||||
var instance = Metalsmith('test/fixtures/partials')
|
||||
var instance = Metalsmith('test/fixtures/partials-multiple')
|
||||
.use(layouts({
|
||||
engine: 'handlebars',
|
||||
partials: {nav: 'partials/nav'}
|
||||
|
@ -116,7 +116,7 @@ describe('metalsmith-layouts', function(){
|
|||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
equal('test/fixtures/partials/expected', 'test/fixtures/partials/build');
|
||||
equal('test/fixtures/partials-multiple/expected', 'test/fixtures/partials-multiple/build');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue