mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Refactor adapters to implement support for array serialization
This commit is contained in:
@@ -18,7 +18,7 @@ module ActiveModel
|
||||
end
|
||||
|
||||
def test_includes_comment_ids
|
||||
assert_equal([1, 2], @adapter.serializable_hash[:links][:comments])
|
||||
assert_equal([1, 2], @adapter.serializable_hash[:posts][:links][:comments])
|
||||
end
|
||||
|
||||
def test_includes_linked_comments
|
||||
|
||||
Reference in New Issue
Block a user