valid.each do |v|
c.chars = v
- assert c.valid?, "'#{v}' should be valid"
+ assert_predicate c, :valid?, "'#{v}' should be valid"
end
end
valid.each do |v|
c.chars = v
- assert c.valid?, "'#{v}' should be valid"
+ assert_predicate c, :valid?, "'#{v}' should be valid"
end
end