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