Ghost/core/test
Katharina Irrgang ca7b5643d5 🎨 more clean code in User Model (#7572)
* 🎨  do not call generateSlug twice for User.setup

* 🎨  call generatePasswordHash onSaving only

- now we can add defaults to User Model
- it was not possible before because add User model did the following:
  1. validate password length
  2. hash password manually
  3. call ghostBookshelf.Model.add and THEN bookshelf defaults fn gets triggered
- call generatePasswordHash in onSaving hook for all use case
- add more tests to user model, juhu
2016-10-14 18:24:38 +01:00
..
functional 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
integration 🎨 more clean code in User Model (#7572) 2016-10-14 18:24:38 +01:00
unit 🐛 Subscribers: validate urls (#7540) 2016-10-14 16:31:20 +02:00
utils 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00