mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Merge pull request #1063 from bf4/poro_lint
Lead by example: lint PORO model
This commit is contained in:
@@ -106,7 +106,7 @@ module ActiveModel::Serializer::Lint
|
||||
private
|
||||
|
||||
def resource
|
||||
@resource
|
||||
@resource or fail "'@resource' must be set as the linted object"
|
||||
end
|
||||
|
||||
def assert_instance_of(result, name)
|
||||
|
||||
Reference in New Issue
Block a user