diff options
| author | Misko Hevery | 2011-02-07 15:29:56 -0800 |
|---|---|---|
| committer | Misko Hevery | 2011-02-16 00:49:15 -0500 |
| commit | 23b255a8b7481ff5c06004b3558c07f981c42276 (patch) | |
| tree | 57e612f658c9f8903d93a28e9095590178e2ce3a /test/testabilityPatch.js | |
| parent | e2154cbc0b9265bea04ce328879d4e9bf1c67c51 (diff) | |
| download | angular.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.js | 1 |
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); |
