diff --git a/t/directives/fixtures/html.stencil b/t/directives/fixtures/html.xml similarity index 100% rename from t/directives/fixtures/html.stencil rename to t/directives/fixtures/html.xml diff --git a/t/directives/html.t.js b/t/directives/html.t.js index 6e69169..1b495af 100755 --- a/t/directives/html.t.js +++ b/t/directives/html.t.js @@ -1,11 +1,11 @@ #!/usr/bin/env node -require('./proof')(2, function (step, context, fixture, ok, compare) { +require('./proof')(2, function (step, stencil, xstencil, fixture, ok, compare) { var fs = require('fs'); step(function () { - context.generate('fixtures/html.stencil', { + xstencil.generate('fixtures/html.xml', { greeting: "Hello,
World!" }, step()); fixture('fixtures/html-generate.xml', step()); @@ -17,11 +17,11 @@ require('./proof')(2, function (step, context, fixture, ok, compare) { step(function () { - context.reconstitute(actual.document, step()); + xstencil.reconstitute(actual.document, step()); }, function (actual) { - context.regenerate(actual, { greeting: "Hello, Nurse!" }, step()); + xstencil.regenerate(actual, { greeting: "Hello, Nurse!" }, step()); }, function (actual) {