Skip to content

Commit

Permalink
Simple spec for isolation analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed May 27, 2012
1 parent 68c76c9 commit 2463250
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/qunit_spec.js
Expand Up @@ -45,6 +45,9 @@ var shouldThrow = function(fn, exception, message) {
ok(caught, message || null);
}

test("most basic", function() {
shouldCompileTo("{{foo}}", { foo: "foo" }, "foo");
});

test("compiling with a basic context", function() {
shouldCompileTo("Goodbye\n{{cruel}}\n{{world}}!", {cruel: "cruel", world: "world"}, "Goodbye\ncruel\nworld!",
Expand Down

0 comments on commit 2463250

Please sign in to comment.