diff options
| -rwxr-xr-x | test.sh | 4 | ||||
| -rw-r--r-- | test/CompilerSpec.js | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,2 +1,2 @@ -java -jar lib/jstestdriver/JsTestDriver.jar --tests all -# java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf +# java -jar lib/jstestdriver/JsTestDriver.jar --tests all +java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js index 2e1ae4ae..da354ea5 100644 --- a/test/CompilerSpec.js +++ b/test/CompilerSpec.js @@ -128,7 +128,7 @@ describe('compiler', function(){ }; textMarkup.push(function(text, textNode, parent){ if (text == '{{1+2}}') - textNode.text('3'); + parent.text('3'); }); var scope = compile('<div><h1>ignore me</h1></div>'); expect(scope.$element.text()).toEqual('3'); |
