| Index: pkg/polymer/test/publish_inherited_properties_test.dart
|
| diff --git a/pkg/polymer/test/publish_inherited_properties_test.dart b/pkg/polymer/test/publish_inherited_properties_test.dart
|
| index dddbf292c7a3af13704073e744752a9909d2b259..2e7a4ac81ec80088cd01d7d31314ea04f81cb180 100644
|
| --- a/pkg/polymer/test/publish_inherited_properties_test.dart
|
| +++ b/pkg/polymer/test/publish_inherited_properties_test.dart
|
| @@ -50,11 +50,13 @@ main() {
|
| initPolymer();
|
| useHtmlConfiguration();
|
|
|
| - setUp(() => Polymer.onReady);
|
| + setUp(() => Polymer.onReady.then((_) {
|
| + Polymer.register('x-noscript', XZot);
|
| + }));
|
|
|
| test('published properties', () {
|
| - published(tag) => (querySelector('polymer-element[name=$tag]')
|
| - as PolymerDeclaration).publishedProperties;
|
| + published(tag) => (new Element.tag(tag) as PolymerElement)
|
| + .declaration.publishedProperties;
|
|
|
| expect(published('x-zot'), ['Foo', 'Bar', 'zot', 'm']);
|
| expect(published('x-squid'), ['Foo', 'Bar', 'zot', 'm', 'baz', 'squid']);
|
|
|