Store attributes as they are instead of converting them into Strings

This commit is contained in:
Santiago Pastorino
2013-09-15 22:07:10 -03:00
parent 10e882a14f
commit 75e9a2599d
11 changed files with 74 additions and 74 deletions

View File

@@ -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