diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-08-08 19:08:39 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-08-08 19:08:39 +0100 |
commit | c6fe49b00921cda55af2dc311dd432795c4313f5 (patch) | |
tree | 9969d333e131dd2a795a10522151580ef69ef7ad /activemodel/test/cases/validations | |
parent | 5ab94b2595836fe2de36fd632ba9577c459b1292 (diff) | |
download | rails-c6fe49b00921cda55af2dc311dd432795c4313f5.tar.gz rails-c6fe49b00921cda55af2dc311dd432795c4313f5.tar.bz2 rails-c6fe49b00921cda55af2dc311dd432795c4313f5.zip |
Simplyfy validates_length_of and remove puts
Diffstat (limited to 'activemodel/test/cases/validations')
-rw-r--r-- | activemodel/test/cases/validations/length_validation_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/test/cases/validations/length_validation_test.rb b/activemodel/test/cases/validations/length_validation_test.rb index bc24900ecf..499f6a5e31 100644 --- a/activemodel/test/cases/validations/length_validation_test.rb +++ b/activemodel/test/cases/validations/length_validation_test.rb @@ -55,7 +55,6 @@ class LengthValidationTest < ActiveModel::TestCase def test_validates_length_of_using_maximum_should_allow_nil Topic.validates_length_of :title, :maximum => 10 t = Topic.create - puts t.errors assert t.valid? end |