| Index: third_party/pkg/angular/test/directive/ng_bind_template_spec.dart
|
| diff --git a/third_party/pkg/angular/test/directive/ng_bind_template_spec.dart b/third_party/pkg/angular/test/directive/ng_bind_template_spec.dart
|
| index 4ca832c23404282d43faaae370c1c3f0d91cb7de..aad7af02d83be640d709664cfbc4b5dfe5336c46 100644
|
| --- a/third_party/pkg/angular/test/directive/ng_bind_template_spec.dart
|
| +++ b/third_party/pkg/angular/test/directive/ng_bind_template_spec.dart
|
| @@ -11,14 +11,14 @@ main() {
|
| it('should bind template',
|
| inject((Scope scope, Injector injector, Compiler compiler) {
|
| var element = _.compile('<div ng-bind-template="{{salutation}} {{name}}!"></div>');
|
| - scope.salutation = 'Hello';
|
| - scope.name = 'Heisenberg';
|
| - scope.$digest();
|
| + scope.context['salutation'] = 'Hello';
|
| + scope.context['name'] = 'Heisenberg';
|
| + scope.apply();
|
|
|
| expect(element.text).toEqual('Hello Heisenberg!');
|
|
|
| - scope.salutation = 'Good-Bye';
|
| - scope.$digest();
|
| + scope.context['salutation'] = 'Good-Bye';
|
| + scope.apply();
|
|
|
| expect(element.text).toEqual('Good-Bye Heisenberg!');
|
| }));
|
|
|