aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/type/binary_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/type/binary_test.rb')
-rw-r--r--activemodel/test/cases/type/binary_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/type/binary_test.rb b/activemodel/test/cases/type/binary_test.rb
index e6a32dbeec..e9c2ccfca4 100644
--- a/activemodel/test/cases/type/binary_test.rb
+++ b/activemodel/test/cases/type/binary_test.rb
@@ -6,7 +6,7 @@ module ActiveModel
class BinaryTest < ActiveModel::TestCase
def test_type_cast_binary
type = Type::Binary.new
- assert_equal nil, type.cast(nil)
+ assert_nil type.cast(nil)
assert_equal "1", type.cast("1")
assert_equal 1, type.cast(1)
end