aboutsummaryrefslogtreecommitdiffstats
path: root/test/widget/selectSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/widget/selectSpec.js')
-rw-r--r--test/widget/selectSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/widget/selectSpec.js b/test/widget/selectSpec.js
index 5d92e674..7206ade8 100644
--- a/test/widget/selectSpec.js
+++ b/test/widget/selectSpec.js
@@ -13,7 +13,7 @@ describe('select', function() {
} else {
element = jqLite(html);
}
- $compile(element)($rootScope);
+ element = $compile(element)($rootScope);
scope.$apply();
return scope;
};
@@ -37,7 +37,7 @@ describe('select', function() {
scope.b = 'bar';
scope.$digest();
- expect(scope.$element.text()).toBe('foobarC');
+ expect(element.text()).toBe('foobarC');
});
it('should require', inject(function($formFactory) {