Index: dart/pkg/polymer/test/template_distribute_dynamic_test.dart |
=================================================================== |
--- dart/pkg/polymer/test/template_distribute_dynamic_test.dart (revision 37358) |
+++ dart/pkg/polymer/test/template_distribute_dynamic_test.dart (working copy) |
@@ -12,16 +12,16 @@ |
class XTest extends PolymerElement { |
@observable List list; |
- final _enteredView = new Completer(); |
+ final _attached = new Completer(); |
Future onTestDone; |
XTest.created() : super.created() { |
- onTestDone = _enteredView.future.then(_runTest); |
+ onTestDone = _attached.future.then(_runTest); |
} |
- enteredView() { |
- super.enteredView(); |
- _enteredView.complete(); |
+ attached() { |
+ super.attached(); |
+ _attached.complete(); |
} |
_runTest(_) { |