mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06: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
|
||||
@association.serializer_from_options = Class.new(ArraySerializer) do
|
||||
def serializable_object
|
||||
def serializable_object(options={})
|
||||
{ my_content: ['fake'] }
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user