mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Merge pull request #39 from kevinansfield/version-header-fixes
Minor version header fixes
This commit is contained in:
commit
b9864114ea
@ -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 New Issue
Block a user