Open
Description
Hello,
This project is supposed to have 100% coverage. If I execute it locally:
smartbox-io/cell@master * make spec
docker run --rm -v `pwd`:/cell -it cell:latest bundle exec rspec spec
(snip)
Coverage report generated for RSpec to /cell/coverage. 173 / 173 LOC (100.0%) covered.
Travis has also this result: https://www.travis-ci.org/smartbox-io/cell/builds/292355378#L714
One line is marked as red in code climate: https://codeclimate.com/github/smartbox-io/cell/coverage/59efccf0f817224314000779, the problem is that as you can see, this method is wrapped with :nocov:
, and the coverage percentage drops when it should not.
My best guess is that .resultset.json
does not report this line is skipped in any way, only that it was not covered (0 passes):
"/cell/app/controllers/api/v1/objects_controller.rb": [
(snip)
0,
(snip)
Simplecov on its UI (the static page it generates) mark them as skipped
, but I don't know if this only happens on the html renderer (I didn't look at simplecov source code).