Affects Version/s: 0.9.168
Fix Version/s: 0.9.171
known_issues_controller currently has 80.77% test coverage on Coveralls:
We'd like to increase that, with an ultimate goal of 90% or greater.
How to test:
Use Coveralls to confirm that the coverage percentage has increased:
1. Go to https://coveralls.io/github/otwcode/otwarchive?branch=master
2. In the "Search" field near the "Source Files on Master" heading, enter the name of the controller: known_issues_controller.rb
3. Note the number in the "Coverage" column of the table
If you want to see the admin interface while working on the test, you can create an admin account on Vagrant by running:
RAILS_ENV=development bundle exec rails runner script/create_admin.rb
This mostly just needs a test for deleting a known issues page, so a Cucumber will probably work if that's what you like.