Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Unified Diff: lib/src/iron-meta/test/iron-meta.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/iron-meta/iron-meta.html ('k') | lib/src/iron-overlay-behavior/iron-overlay-behavior.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/iron-meta/test/iron-meta.html
diff --git a/lib/src/iron-meta/test/iron-meta.html b/lib/src/iron-meta/test/iron-meta.html
index c1a40282ebc8b85429fc38b5582f7fa6e56c652f..c4dc2500d27f959f535616fd5da1a7cead038f9a 100644
--- a/lib/src/iron-meta/test/iron-meta.html
+++ b/lib/src/iron-meta/test/iron-meta.html
@@ -179,6 +179,15 @@ suite('<iron-meta>', function () {
expect(registeredValue).to.be.equal(secondValue);
});
});
+
+ suite('singleton', function () {
+
+ test('only one ironmeta created', function () {
+ var first = Polymer.IronMeta.getIronMeta();
+ var second = Polymer.IronMeta.getIronMeta();
+ expect(first).to.be.equal(second);
+ });
+ });
});
</script>
« no previous file with comments | « lib/src/iron-meta/iron-meta.html ('k') | lib/src/iron-overlay-behavior/iron-overlay-behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698