Mixed type field for A/B testing (#8302)

* feat(AB-testing): mixed type field

* fix(AB-testing): lint errors

* fix(AB-testing): allow client access to _ABtests

* Revert "fix(AB-testing): allow client access to _ABtests"

This reverts commit 25832365ba.

* fix(AB-testing): preview check on server

* refactor(AB-testing): add comments
This commit is contained in:
Sabe Jones
2016-12-21 15:19:00 -08:00
committed by GitHub
parent 27c38bdf45
commit e4e5d10316
5 changed files with 18 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ describe('POST /user/auth/local/register', () => {
});
await expect(getProperty('users', user._id, '_ABtest')).to.eventually.be.a('string');
await expect(getProperty('users', user._id, '_ABtests')).to.eventually.be.a('object');
});
it('requires password and confirmPassword to match', async () => {