mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Add test todos before I forget
This commit is contained in:
parent
b4cef58e98
commit
c13354c4e8
@ -25,6 +25,23 @@ module ActiveModel
|
|||||||
@instance_options = {}
|
@instance_options = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# TODO: Remaining tests
|
||||||
|
# test_reflection_value_block_with_scope
|
||||||
|
# test_reflection_value_uses_serializer_instance_method
|
||||||
|
# test_reflection_excluded_eh_blank_is_false
|
||||||
|
# test_reflection_excluded_eh_if
|
||||||
|
# test_reflection_excluded_eh_unless
|
||||||
|
# test_evaluate_condition_symbol_serializer_method
|
||||||
|
# test_evaluate_condition_string_serializer_method
|
||||||
|
# test_evaluate_condition_proc
|
||||||
|
# test_evaluate_condition_proc_yields_serializer
|
||||||
|
# test_evaluate_condition_other
|
||||||
|
# test_options_key
|
||||||
|
# test_options_polymorphic
|
||||||
|
# test_options_serializer
|
||||||
|
# test_options_virtual_value
|
||||||
|
# test_options_namespace
|
||||||
|
|
||||||
def test_reflection_value
|
def test_reflection_value
|
||||||
serializer_class = Class.new(ActiveModel::Serializer) do
|
serializer_class = Class.new(ActiveModel::Serializer) do
|
||||||
has_one :blog
|
has_one :blog
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user