mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Deprecate include in favor of side_load
This commit is contained in:
@@ -65,8 +65,8 @@ module ActiveModel
|
||||
|
||||
class ApplyConfigTest < ActiveModel::TestCase
|
||||
def test_apply_config_to_associations
|
||||
CONFIG.embed = :ids
|
||||
CONFIG.include = true
|
||||
CONFIG.embed = :ids
|
||||
CONFIG.side_load = true
|
||||
|
||||
association = PostSerializer._associations[:comments]
|
||||
old_association = association.dup
|
||||
|
||||
Reference in New Issue
Block a user