alphagov/govuk_content_models — pull request #276 by vinayvinay (2014-12-19 12:18:24+00:00)
Title: Define GOVSPEAK_FIELDS only on models that have it

[this safe_html_validator_test](https://github.com/alphagov/govuk_content_models/blob/master/test/validators/safe_html_validator_test.rb#L68-L81) mandates all models to validate using the `SafeHtml` validator irrespective of whether they have any govspeak or not. this in turn requires all models to define `GOVSPEAK_FIELDS`.

i've updated the test to only validate that models that define `GOVSPEAK_FIELDS` validate using `SafeHtml`. models have better reason to define `GOVSPEAK_FIELDS` in that it helps content api identify which fields need to be rendered as govspeak, so defining it is not likely to get missed.