Remove version from settings.

This commit is contained in:
Lars Jung 2015-05-14 14:50:51 +02:00
parent 95f087cfd6
commit 17b5d4dfaa
7 changed files with 28 additions and 31 deletions

View file

@ -18,8 +18,7 @@ describe('module \'' + ID + '\'', function () {
},
setup: {
PUBLIC_HREF: util.uniqId(),
ROOT_HREF: util.uniqId(),
VERSION: util.uniqId()
ROOT_HREF: util.uniqId()
}
};
this.applyFn = function () {
@ -79,7 +78,7 @@ describe('module \'' + ID + '\'', function () {
assert.strictEqual(instance.someOptions, this.xConfig.options.someOptions);
assert.strictEqual(instance.otherOptions, this.xConfig.options.otherOptions);
assert.strictEqual(instance.more, this.xConfig.options.more);
assert.strictEqual(_.keys(instance).length, _.keys(this.xConfig.options).length + 3);
assert.strictEqual(_.keys(instance).length, _.keys(this.xConfig.options).length + 2);
});
});
@ -100,15 +99,6 @@ describe('module \'' + ID + '\'', function () {
assert.strictEqual(instance.rootHref, this.xConfig.setup.ROOT_HREF);
});
});
describe('.version', function () {
it('set correct', function () {
var instance = this.applyFn();
assert.strictEqual(instance.version, this.xConfig.setup.VERSION);
});
});
});
}());