Permalink
Browse files

Applying dir changes to the tests

  • Loading branch information...
1 parent a6f986f commit 08058816d6ba4de896fde498c9b28cf81b5760c7 @Gozala Gozala committed Nov 3, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/testSimple.js
  2. +1 −1 tests/testSubstitutions.js
View
2 tests/testSimple.js
@@ -1,5 +1,5 @@
var assert = require("test/assert"),
- Template = require("json-template/json-template").Template;
+ Template = require("json-template").Template;
exports["test - Simple example"] = function() {
assert.isEqual(Template('Hello {name}').expand({'name': 'world'}), "Hello world");
View
2 tests/testSubstitutions.js
@@ -1,5 +1,5 @@
var assert = require("test/assert"),
- Template = require("json-template/json-template").Template;
+ Template = require("json-template").Template;
exports.testSimpleData = function() {
assert.isEqual(Template("Hello {name}, how are you").expand({'name': 'Andy'}), "Hello Andy, how are you");

0 comments on commit 0805881

Please sign in to comment.