serialization_options propagation - test correction

This commit is contained in:
Raphael Pereira 2014-12-06 09:50:42 -02:00
parent ea6dc424ee
commit db566b427d

View File

@ -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