test/models/adminpanel/section_test.rb in adminpanel-3.2.1 vs test/models/adminpanel/section_test.rb in adminpanel-3.3.0
- old
+ new
@@ -11,12 +11,9 @@
assert @telephone.invalid?
@telephone.update_attribute(:description, '1' * 11)
assert @telephone.invalid?
- @telephone.update_attribute(:description, '01-2-3-4-5')
- assert @telephone.invalid?
-
@telephone.update_attribute(:description, '')
assert @telephone.valid?
end
def test_default_scope