diff options
-rw-r--r-- | activemodel/test/cases/validations/validates_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/validations/validates_test.rb b/activemodel/test/cases/validations/validates_test.rb index ad3be4a3c1..575154ffbd 100644 --- a/activemodel/test/cases/validations/validates_test.rb +++ b/activemodel/test/cases/validations/validates_test.rb @@ -18,7 +18,7 @@ class ValidatesTest < ActiveModel::TestCase def test_validates_with_messages_empty Person.validates :title, :presence => {:message => "" } - person = Person.new(:title => '') + person = Person.new assert !person.valid?, 'person should not be valid.' end |