We're updating the issue view to help you get more done.Learn more

Extend tests for external_works_controller fetch action

controllers/external_works_controller currently has 53.66% test coverage on Coveralls:
https://coveralls.io/builds/9311338/source?filename=app%2Fcontrollers%2Fexternal_works_controller.rb

We'd like better coverage. In particular, the #fetch action needs to be covered.

How to test:
Use Coveralls to confirm that the coverage percentage has increased and the fetch action is covered:
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: controllers/external_works_controller.rb
3. Note the number in the "Coverage" column of the table
4. The lines of code making up def fetch should be highlighted in green

Status

Assignee

Sarken

Reporter

Sarken

Priority

Medium

Affects versions

0.9.168

Fix versions

Components

AutomatedTests

Difficulty

Medium

Milestone

Internal 0.9