mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Removed confusing use of v0.1 in theme handler test
This commit is contained in:
parent
38a7a66fd1
commit
5def462bf0
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ describe('Theme Handler', function () {
|
|||
sinon.stub(themeService, 'getActive').callsFake(() => {
|
||||
return {
|
||||
engine() {
|
||||
return 'v0.1';
|
||||
return 'v3';
|
||||
}
|
||||
};
|
||||
});
|
||||
|
@ -35,7 +35,7 @@ describe('Theme Handler', function () {
|
|||
should.exist(res.locals.safeVersion);
|
||||
should.exist(res.locals.apiVersion);
|
||||
res.locals.relativeUrl.should.equal(req.path);
|
||||
res.locals.apiVersion.should.equal('v0.1');
|
||||
res.locals.apiVersion.should.equal('v3');
|
||||
next.called.should.be.true();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue