[Fixed Position] Fill in specs for selection proxies

Fill in specs for fixed position views selection proxies,
WTD-879.
This commit is contained in:
Victor Woeltjen
2015-02-19 13:29:43 -08:00
parent 7882dd1401
commit 3cfcd027e0
5 changed files with 94 additions and 2 deletions

View File

@@ -5,8 +5,23 @@ define(
function (ElementProxies) {
"use strict";
describe("The set of element proxies", function () {
var ELEMENT_TYPES = [
"fixed.telemetry"
];
// Verify that the set of proxies exposed matches the specific
// list above.
describe("The set of element proxies", function () {
ELEMENT_TYPES.forEach(function (t) {
it("exposes a proxy wrapper for " + t + " elements", function () {
expect(typeof ElementProxies[t]).toEqual('function');
});
});
it("exposes no additional wrappers", function () {
expect(Object.keys(ElementProxies).length)
.toEqual(ELEMENT_TYPES.length);
});
});
}
);