aboutsummaryrefslogtreecommitdiffstats
path: root/test/directivesSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/directivesSpec.js')
-rw-r--r--test/directivesSpec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/directivesSpec.js b/test/directivesSpec.js
index b70067ba..ab1813c3 100644
--- a/test/directivesSpec.js
+++ b/test/directivesSpec.js
@@ -13,8 +13,7 @@ describe("directive", function(){
});
afterEach(function() {
- if (model && model.$element) model.$element.remove();
- expect(size(jqCache)).toEqual(0);
+ dealoc(model);
});
it("should ng:init", function() {