aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/validations_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/validations_test.rb')
-rwxr-xr-xactiverecord/test/validations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/validations_test.rb b/activerecord/test/validations_test.rb
index e29006983e..edd5356e23 100755
--- a/activerecord/test/validations_test.rb
+++ b/activerecord/test/validations_test.rb
@@ -351,7 +351,7 @@ class ValidationsTest < Test::Unit::TestCase
def test_throw_away_typing
d = Developer.create "name" => "David", "salary" => "100,000"
assert !d.valid?
- assert_not_equal "100,000", d.salary
+ assert_equal 100, d.salary
assert_equal "100,000", d.salary_before_type_cast
end
end \ No newline at end of file