mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
If output is as expected, is this assert important?
This commit is contained in:
parent
ab5d40f38b
commit
a771f30816
@ -398,8 +398,6 @@ class AssociationTest < ActiveModel::TestCase
|
||||
|
||||
include_bare! :comment
|
||||
|
||||
assert_equal :comment_id, association_name
|
||||
|
||||
assert_equal({
|
||||
:comment_id => 1
|
||||
}, @hash)
|
||||
@ -423,8 +421,6 @@ class AssociationTest < ActiveModel::TestCase
|
||||
|
||||
include_bare! :comments
|
||||
|
||||
assert_equal :comment_ids, association_name
|
||||
|
||||
assert_equal({
|
||||
:comment_ids => [1]
|
||||
}, @hash)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user