Tested with: Ruby2.1 and above
Coverage: �
You can use rspec
to run tests
I wrote only controller tests for this project it includes integration and unit tests together for almost any case (64 tests) with the coverage of;
- 100% controllers
- 100% interactors
- 100% models
rake db:migrate
to create tables and schema
rake db:seed
to fill initial data to tables
You can use devise_token_auth's sign_in, sign_out or other routes for the user actions. I set the token; "don't change on every request" so when you take client and access-token you don't need to change it on every request.
I used pundit gem to authorize system. You can find files under app/policies
.
Feel free to contact me if you have questions.
[email protected]