Skip to content

Commit 437d75d

Browse files
committed
update according rubocop rules
1 parent 3857076 commit 437d75d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/action_controller/serialization_test.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,11 @@ def render_array_using_implicit_serializer_and_meta
4747

4848
def render_array_using_implicit_serializer_and_links
4949
with_adapter ActiveModel::Serializer::Adapter::JsonApi do
50-
5150
@profiles = [
52-
Profile.new({ name: 'Name 1', description: 'Description 1', comments: 'Comments 1' })
51+
Profile.new(name: 'Name 1', description: 'Description 1', comments: 'Comments 1')
5352
]
5453

55-
render json: @profiles, links: { self: "http://example.com/api/profiles/1" }
54+
render json: @profiles, links: { self: 'http://example.com/api/profiles/1' }
5655
end
5756
end
5857

0 commit comments

Comments
 (0)