You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
If project doesn't extend built-in models **User** and
**AccessToken** as **user** and **accessToken**, `givenModel()`
can NOT find these models by keys `user` and `accessToken` via
`app.models[key]`.
By capitalizing the keys, `givenModel()` can always find the
proper built-in model.
Note: When `user` model extends `User` model, it will register
both `user` and `User` to `app.models`.
Signed-off-by: Clark Wang <[email protected]>
Allow to specify user and accessToken models
Add an options param to `lt.beforeEach.withApp()`, allow to specify
the user model and/or accessToken model that will be used in the
tests.
Signed-off-by: Clark Wang <[email protected]>
refactor according to @ritch's notes
Signed-off-by: Clark Wang <[email protected]>
use a simple approach
Signed-off-by: Clark Wang <[email protected]>
remove unused dep
Signed-off-by: Clark Wang <[email protected]>
pass tests
Signed-off-by: Clark Wang <[email protected]>
fix missing dep
upgrade to use lodash string util methods
Signed-off-by: Clark Wang <[email protected]>
0 commit comments