mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
re: RuboCop - replace rocket style hashes
This commit is contained in:
@@ -370,7 +370,7 @@ module ActiveModelSerializers
|
||||
expected = [
|
||||
type: 'nested-posts', id: '2',
|
||||
relationships: {
|
||||
:"nested-posts" => {
|
||||
"nested-posts": {
|
||||
data: [
|
||||
{ type: 'nested-posts', id: '1' },
|
||||
{ type: 'nested-posts', id: '2' }
|
||||
|
||||
Reference in New Issue
Block a user