mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Removed confusing use of v0.1 in theme handler test
This commit is contained in:
parent
38a7a66fd1
commit
5def462bf0
@ -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…
Reference in New Issue
Block a user