Sha256: 265c578b448f972fc5cb965bd6fd2d438d6791d501594d0aeeea8123ea3cc6fa
Contents?: true
Size: 381 Bytes
Versions: 12
Compression:
Stored size: 381 Bytes
Contents
require 'test_helper' module ActiveModel class DefaultSerializer class Test < Minitest::Test def test_serialize_objects assert_equal(nil, DefaultSerializer.new(nil).serializable_object) assert_equal(1, DefaultSerializer.new(1).serializable_object) assert_equal('hi', DefaultSerializer.new('hi').serializable_object) end end end end
Version data entries
12 entries across 12 versions & 2 rubygems