mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Use symbol for root in jsonapi, fix tests
This commit is contained in:
@@ -30,7 +30,7 @@ module ActiveModel
|
||||
end
|
||||
|
||||
def test_includes_bio_id
|
||||
assert_equal("43", @adapter.serializable_hash[:authors][:links][:bio])
|
||||
assert_equal("43", @adapter.serializable_hash[:data][:links][:bio])
|
||||
end
|
||||
|
||||
def test_includes_linked_bio
|
||||
|
||||
Reference in New Issue
Block a user