Index: pkg/polymer/test/template_distribute_dynamic_test.dart |
diff --git a/pkg/polymer/test/template_distribute_dynamic_test.dart b/pkg/polymer/test/template_distribute_dynamic_test.dart |
index 64389066331046cb5c3e91c74d3b65074da5eb58..d808419da4cbed3e9191ba23bf53ae59ef522766 100644 |
--- a/pkg/polymer/test/template_distribute_dynamic_test.dart |
+++ b/pkg/polymer/test/template_distribute_dynamic_test.dart |
@@ -12,16 +12,16 @@ import 'package:unittest/html_config.dart'; |
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(_) { |