Refactor code.

This commit is contained in:
Lars Jung 2015-05-02 20:16:48 +02:00
parent 16186811a4
commit 167e30dee1
4 changed files with 10 additions and 10 deletions

View file

@ -19,7 +19,7 @@ describe('module \'' + ID + '\'', function () {
setup: {
APP_HREF: util.uniqId(),
ROOT_HREF: util.uniqId(),
CURRENT_HREF: util.uniqId()
VERSION: util.uniqId()
}
};
this.applyFn = function () {
@ -101,12 +101,12 @@ describe('module \'' + ID + '\'', function () {
});
});
describe('.currentHref', function () {
describe('.version', function () {
it('set correct', function () {
var instance = this.applyFn();
assert.strictEqual(instance.currentHref, this.xConfig.setup.CURRENT_HREF);
assert.strictEqual(instance.version, this.xConfig.setup.VERSION);
});
});
});