Permalink
Browse files

Fixed test "ArgumentError: wrong number of arguments(1 for 0)"

  • Loading branch information...
1 parent 3346de6 commit 4fac64b1cca42820d55873575171d25023c573c4 @arunagw arunagw committed Dec 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/cases/validations/validates_test.rb
@@ -18,7 +18,7 @@ def reset_callbacks
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

0 comments on commit 4fac64b

Please sign in to comment.