Skip to content

Commit

Permalink
update according rubocop rules
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Dec 23, 2015
1 parent 3857076 commit 437d75d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/action_controller/serialization_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ def render_array_using_implicit_serializer_and_meta

def render_array_using_implicit_serializer_and_links
with_adapter ActiveModel::Serializer::Adapter::JsonApi do

@profiles = [
Profile.new({ name: 'Name 1', description: 'Description 1', comments: 'Comments 1' })
Profile.new(name: 'Name 1', description: 'Description 1', comments: 'Comments 1')
]

render json: @profiles, links: { self: "http://example.com/api/profiles/1" }
render json: @profiles, links: { self: 'http://example.com/api/profiles/1' }
end
end

Expand Down

0 comments on commit 437d75d

Please sign in to comment.