Skip to content

Commit

Permalink
Move XStencil raw value fixture to html.xml.
Browse files Browse the repository at this point in the history
See #142.
  • Loading branch information
flatheadmill committed Jul 21, 2013
1 parent 8faec26 commit 902b4ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions t/directives/html.t.js
Original file line number Diff line number Diff line change
@@ -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, <br/><a href='index.html'><em>World</em></a>!"
}, step());
fixture('fixtures/html-generate.xml', step());
Expand All @@ -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) {

Expand Down

0 comments on commit 902b4ea

Please sign in to comment.