aboutsummaryrefslogtreecommitdiffstats
path: root/test/markupSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/markupSpec.js')
-rw-r--r--test/markupSpec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/markupSpec.js b/test/markupSpec.js
index 2462f19e..2c933f09 100644
--- a/test/markupSpec.js
+++ b/test/markupSpec.js
@@ -5,10 +5,9 @@ describe("markups", function(){
beforeEach(function() {
scope = null;
element = null;
- var compiler = new Compiler(angularTextMarkup, angularAttrMarkup, angularDirective, angularWidget);
compile = function(html) {
element = jqLite(html);
- scope = compiler.compile(element)(element);
+ scope = angular.compile(element)().scope;
};
});