mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Merge pull request #39 from kevinansfield/version-header-fixes
Minor version header fixes
This commit is contained in:
commit
f0af686c6d
2 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,7 @@ module.exports = function (environment) {
|
|||
// override the default version string which contains git info from
|
||||
// https://github.com/cibernox/git-repo-version. Only include the
|
||||
// `major.minor` version numbers
|
||||
version: require('../package.json').version.replace(/\.\d+$/, '')
|
||||
version: require('../package.json').version.match(/^(\d+\.)?(\d+)/)[0]
|
||||
},
|
||||
|
||||
'ember-simple-auth': {
|
||||
|
|
|
@ -37,7 +37,6 @@ describeModule(
|
|||
|
||||
store.find('post', 1).catch(() => {
|
||||
let [request] = server.handledRequests;
|
||||
console.log(request);
|
||||
expect(request.requestHeaders['X-Ghost-Version']).to.equal(version);
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue