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

Improve coverage for related works controller

Description

controllers/related_works_controller currently has 54% test coverage on Coveralls:
https://coveralls.io/builds/9312731/source?filename=app%2Fcontrollers%2Frelated_works_controller.rb

We'd like better coverage.

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/related_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

Environment

Status

Assignee

Sarken

Reporter

Sarken

Priority

Medium

Affects versions

0.9.165

Fix versions

Components

AutomatedTests

Difficulty

Medium

Milestone

Internal 0.9