Closed swt2public closed 5 years ago
Sorry, it's not working for me yet:
When creating a paper without year Then validation should fail
Expected #<paper id: nil, title: "computing machinery and intelligence", venue: "mind 49: 433-460", year: nil, created_at: nil, updated_at: nil> not to be valid
If you have problems solving this task, please don't hesitate to contact the teaching team!
Scenario
When creating a paper without year 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
Estimated progress: 73% complete