invalid.each do |v|
c.chars = v
- assert_not c.valid?, "'#{v}' should not be valid"
+ assert_not_predicate c, :valid?, "'#{v}' should not be valid"
end
end
invalid.each do |v|
c.chars = v
- assert_not c.valid?, "'#{v}' should not be valid"
+ assert_not_predicate c, :valid?, "'#{v}' should not be valid"
end
end
end