aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test')
-rw-r--r--activemodel/test/cases/type/integer_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/type/integer_test.rb b/activemodel/test/cases/type/integer_test.rb
index 9bd0110099..dec188b4cc 100644
--- a/activemodel/test/cases/type/integer_test.rb
+++ b/activemodel/test/cases/type/integer_test.rb
@@ -54,7 +54,7 @@ module ActiveModel
type = Type::Integer.new
assert_nil type.cast("")
assert_nil type.serialize("")
- assert_equal 0, type.deserialize("")
+ assert_nil type.deserialize("")
end
test "changed?" do