mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Fix warnings
JRuby-specific: fix 'warning: (...) interpreted as grouped expression'
This commit is contained in:
@@ -81,7 +81,7 @@ module ActiveModel
|
||||
def test_serializer_options_are_passed_into_associations_serializers
|
||||
association = @post_serializer
|
||||
.associations
|
||||
.detect { |association| association.key == :comments }
|
||||
.detect { |assoc| assoc.key == :comments }
|
||||
|
||||
assert association.serializer.first.custom_options[:custom_options]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user