The test coverage for the kudos_controller is 84.21%:
We'd like to increase that with an ultimate goal of 90% or greater.
How to test:
For the automated coverage, visit https://codecov.io/gh/otwcode/otwarchive/src/master/app/controllers/kudos_controller.rb and note the new percentage on the file.
Coverage has actually gone down from when this issue was created – it’s reporting 82.05%.
Trying to leave kudos on a work I just deleted gave me a 404 error instead of a 500, so that’s good!
Coverage went down because of flaky tests. From the latest build that succeeds, coverage is 100%:
coverage is showing 89.74%
for the second part of the test, i got "Error 404 The page you were looking for doesn't exist. You may have mistyped the address or the page may have been deleted."