puppetlabs/razor-server — pull request #203 by smcclellan (2014-05-07 23:52:10+00:00)
Title: Automate required attribute spec tests

Database constraints and validation constraints do not always match up. Recently, the `create-policy` command had some discrepancies between what the validation framework considered to be required attributes and what the database required.

It will be helpful to add automated spec testing for required attributes that commands can harness. This should should test, at the least:
- That the command passes with the minimum (required) attributes provided
- That the command fails when any single required attribute is removed