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

Extend tests for prompt_meme model

Description

models/challenge_models/prompt_meme.rb currently has 96.67% coverage on Coveralls: https://coveralls.io/builds/9351223/source?filename=app%2Fmodels%2Fchallenge_models%2Fprompt_meme.rb

We'd like to cover the bit about required and allowed prompts at line 41 so we have 100% coverage: https://coveralls.io/builds/9351223/source?filename=app%2Fmodels%2Fchallenge_models%2Fprompt_meme.rb#L41

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 model: challenge_models/prompt_meme.rb
3. Note the number in the "Coverage" column of the table
4. You can also click the name of the file and make sure line 41 (self.requests_num_allowed = required) is now green instead of red

Environment

Status

Assignee

Sarken

Reporter

Sarken

Priority

Medium

Affects versions

0.9.169

Fix versions

Components

AutomatedTests

Difficulty

Medium

Milestone

Internal 0.9