Iteration B2

UnitTesting

Ensured that required fields were present.
• Ensured that price fields were numeric and at least one cent.
• Ensured that titles were unique.
• Ensured that images matched a given format.
• Updated the unit tests that Rails provided, both to conform to the
constraints we have imposed on the model and to verify the new code we
added.