diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-07 21:34:35 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-07 21:34:35 +0000 |
commit | 7c4b6a55b61229ef5f2f053c9a88a738497c70cf (patch) | |
tree | 0bdfe35471e6b59eca21ade46a30e081711dc8d9 /activerecord/test | |
parent | 9d9ac01c7ddf1d3af1ee2151e2977d3ee9e48294 (diff) | |
download | rails-7c4b6a55b61229ef5f2f053c9a88a738497c70cf.tar.gz rails-7c4b6a55b61229ef5f2f053c9a88a738497c70cf.tar.bz2 rails-7c4b6a55b61229ef5f2f053c9a88a738497c70cf.zip |
Rollback [4917]. Closes #785.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rwxr-xr-x | activerecord/test/validations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/validations_test.rb b/activerecord/test/validations_test.rb index 4b6c1bfe1c..936c36e6cb 100755 --- a/activerecord/test/validations_test.rb +++ b/activerecord/test/validations_test.rb @@ -179,11 +179,11 @@ class ValidationsTest < Test::Unit::TestCase assert t.valid? t.title_confirmation = "Parallel Lives" - assert t.valid? + assert !t.valid? t.title_confirmation = nil t.title = "Parallel Lives" - assert !t.valid? + assert t.valid? t.title_confirmation = "Parallel Lives" assert t.valid? |