aboutsummaryrefslogtreecommitdiffstats
path: root/test/directivesSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/directivesSpec.js')
-rw-r--r--test/directivesSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/directivesSpec.js b/test/directivesSpec.js
index c02eb025..4b2e7055 100644
--- a/test/directivesSpec.js
+++ b/test/directivesSpec.js
@@ -5,7 +5,7 @@ describe("directive", function(){
beforeEach(function() {
compile = function(html) {
element = jqLite(html);
- return model = angular.compile(element)().scope;
+ return model = angular.compile(element)();
};
});