aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorMisko Hevery2011-02-07 15:29:56 -0800
committerMisko Hevery2011-02-16 00:49:15 -0500
commit23b255a8b7481ff5c06004b3558c07f981c42276 (patch)
tree57e612f658c9f8903d93a28e9095590178e2ce3a /test/testabilityPatch.js
parente2154cbc0b9265bea04ce328879d4e9bf1c67c51 (diff)
downloadangular.js-23b255a8b7481ff5c06004b3558c07f981c42276.tar.bz2
remove $init on scope from applying compilation template
Closes #40
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index 32272a4d..dc6acf8b 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -28,6 +28,7 @@ beforeEach(function(){
compileCache = {};
// reset to jQuery or default to us.
bindJQuery();
+ jqLite(document.body).html('');
this.addMatchers({
toBeInvalid: function(){
var element = jqLite(this.actual);