test/dummy/app/models/employee.rb in elfproef_plan-0.0.3 vs test/dummy/app/models/employee.rb in elfproef_plan-0.0.5
- old
+ new
@@ -1,5 +1,6 @@
class Employee < ActiveRecord::Base
validates :number, bsn: {message: "mijn boodschapje"}
validates :name, length: {minimum: 5}
validates :accountnumber, rekening: true
+ validates :taxnumber, loonheffingennummer: true
end