summaryrefslogtreecommitdiffstats
path: root/spec/basic.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/basic.js')
-rw-r--r--spec/basic.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/basic.js b/spec/basic.js
index a46636c..679cf26 100644
--- a/spec/basic.js
+++ b/spec/basic.js
@@ -1,3 +1,9 @@
+global.handlebarsEnv = null;
+
+beforeEach(function() {
+ global.handlebarsEnv = new Handlebars.HandlebarsEnvironment();
+});
+
describe("basic context", function() {
it("most basic", function() {
shouldCompileTo("{{foo}}", { foo: "foo" }, "foo");