mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Replace appHref with publicHref.
This commit is contained in:
parent
05547c2685
commit
4db158e8d9
7 changed files with 9 additions and 29 deletions
|
@ -17,7 +17,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
more: util.uniqObj()
|
||||
},
|
||||
setup: {
|
||||
APP_HREF: util.uniqId(),
|
||||
PUBLIC_HREF: util.uniqId(),
|
||||
ROOT_HREF: util.uniqId(),
|
||||
VERSION: util.uniqId()
|
||||
}
|
||||
|
@ -83,12 +83,12 @@ describe('module \'' + ID + '\'', function () {
|
|||
});
|
||||
});
|
||||
|
||||
describe('.appHref', function () {
|
||||
describe('.publicHref', function () {
|
||||
|
||||
it('set correct', function () {
|
||||
|
||||
var instance = this.applyFn();
|
||||
assert.strictEqual(instance.appHref, this.xConfig.setup.APP_HREF);
|
||||
assert.strictEqual(instance.publicHref, this.xConfig.setup.PUBLIC_HREF);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue