mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
serialization_options propagation - test correction
This commit is contained in:
parent
ea6dc424ee
commit
db566b427d
@ -176,7 +176,7 @@ module ActiveModel
|
|||||||
|
|
||||||
def test_associations_embedding_objects_using_a_given_array_serializer
|
def test_associations_embedding_objects_using_a_given_array_serializer
|
||||||
@association.serializer_from_options = Class.new(ArraySerializer) do
|
@association.serializer_from_options = Class.new(ArraySerializer) do
|
||||||
def serializable_object
|
def serializable_object(options={})
|
||||||
{ my_content: ['fake'] }
|
{ my_content: ['fake'] }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user