JuliusCosmoRomeo/rails-exercise-16

Paper should not validate without year

Closed this issue · 0 comments

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