Open swt2public opened 2 years ago
When creating a paper without title Then validation should fail
Papers should not be valid without having all attributes (title, venue and year) set. Year should be a numeric value.
Validation reference
Expected #<paper id: nil, title: nil, venue: "mind 49: 433-460", year: 1950, created_at: nil, updated_at: nil> not to be valid
22 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.
Scenario
When creating a paper without title Then validation should fail
Hints
Papers should not be valid without having all attributes (title, venue and year) set. Year should be a numeric value.
Validation reference
Error
22 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.