mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Store attributes as they are instead of converting them into Strings
This commit is contained in:
@@ -12,8 +12,8 @@ module ActiveModel
|
||||
|
||||
assert_equal({
|
||||
'profile' => {
|
||||
'name' => 'Name 1',
|
||||
'description' => 'Description 1'
|
||||
name: 'Name 1',
|
||||
description: 'Description 1'
|
||||
},
|
||||
'meta' => {
|
||||
'total' => 10
|
||||
@@ -26,8 +26,8 @@ module ActiveModel
|
||||
|
||||
assert_equal({
|
||||
'profile' => {
|
||||
'name' => 'Name 1',
|
||||
'description' => 'Description 1'
|
||||
name: 'Name 1',
|
||||
description: 'Description 1'
|
||||
},
|
||||
'my_meta' => {
|
||||
'total' => 10
|
||||
|
||||
Reference in New Issue
Block a user