Skip to content

Commit

Permalink
Removed confusing use of v0.1 in theme handler test
Browse files Browse the repository at this point in the history
  • Loading branch information
naz committed Sep 18, 2019
1 parent 38a7a66 commit 5def462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/unit/web/middleware/ghost-locals_spec.js
Expand Up @@ -14,7 +14,7 @@ describe('Theme Handler', function () {
sinon.stub(themeService, 'getActive').callsFake(() => {
return {
engine() {
return 'v0.1';
return 'v3';
}
};
});
Expand All @@ -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();
});
});
Expand Down

0 comments on commit 5def462

Please sign in to comment.