aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/validations_test.rb')
-rwxr-xr-xactiverecord/test/cases/validations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/validations_test.rb b/activerecord/test/cases/validations_test.rb
index f9a1b4620f..34d55dbcf6 100755
--- a/activerecord/test/cases/validations_test.rb
+++ b/activerecord/test/cases/validations_test.rb
@@ -428,7 +428,7 @@ class ValidationsTest < ActiveRecord::TestCase
assert_nil t2.errors.on(:title)
assert t2.errors.on(:parent_id)
- t2.parent_id = 3
+ t2.parent_id = 4
assert t2.save, "Should now save t2 as unique"
t2.parent_id = nil