donejs / donejs/bitballs

Make User, Session and Player Model tests that test the server.

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
12
Forks
18
PR merge metrics
No merged PRs in 30d

Description

- [x] - move all Bookshelf models in to Models.
- [x] - Make the first user that signs in the admin, not "justin@bitovi.com" #16 .
- [x] - protect `player` service CUD methods unless someone is logged in
- [ ] - Make a "dev" folder in `services`. This is where services that are only supported in DEV might go.
- A service that allows clearing all users.
- A service that allows clearing all players.
- [ ] - Add any necessary methods (`createListData`) to data-url and can/map, and update can-connect's docs.
- [ ] - Write a test that does the following:
1. In setup, clears all users, players, and logs the person out.
2. Creates a user (which will be admin), logs them in, creates a player, is able to get that player.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.