geekq / workflow

Ruby finite-state-machine-inspired API for modeling workflow
MIT License
1.74k stars 207 forks source link

Improve code coverage #211

Closed geekq closed 5 years ago

geekq commented 5 years ago

After extracting ActiveRecord related functionality and moving all the tests, which use ActiveRecord, the code coverage dropped significantly.

So add back tests, probably inspired by https://github.com/geekq/workflow-activerecord/tree/develop/test to increase coverage so we can refactor / add features more safely in the future.

S. also https://codeclimate.com/github/geekq/workflow/code

geekq commented 5 years ago

Fixed simplecov configuration. Now the real coverage is shown in https://codeclimate.com/github/geekq/workflow/code Test coverage [A] 95%