diff --git a/test/fixtures/partials/build/index.html b/test/fixtures/partials-multiple/build/index.html similarity index 100% rename from test/fixtures/partials/build/index.html rename to test/fixtures/partials-multiple/build/index.html diff --git a/test/fixtures/partials/expected/index.html b/test/fixtures/partials-multiple/expected/index.html similarity index 100% rename from test/fixtures/partials/expected/index.html rename to test/fixtures/partials-multiple/expected/index.html diff --git a/test/fixtures/partials/layouts/layout.html b/test/fixtures/partials-multiple/layouts/layout.html similarity index 100% rename from test/fixtures/partials/layouts/layout.html rename to test/fixtures/partials-multiple/layouts/layout.html diff --git a/test/fixtures/partials/layouts/partials/nav.html b/test/fixtures/partials-multiple/layouts/partials/nav.html similarity index 100% rename from test/fixtures/partials/layouts/partials/nav.html rename to test/fixtures/partials-multiple/layouts/partials/nav.html diff --git a/test/fixtures/partials/src/index.html b/test/fixtures/partials-multiple/src/index.html similarity index 100% rename from test/fixtures/partials/src/index.html rename to test/fixtures/partials-multiple/src/index.html diff --git a/test/index.js b/test/index.js index 73e8d46..4c8be9a 100644 --- a/test/index.js +++ b/test/index.js @@ -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(); }); });