Skip to content

Generated specs require GraphitiSpecHelpers::Sugar #51

Description

@wagenet

We need it for the d method used here:
https://github.com/graphiti-api/graphiti/blob/master/lib/generators/graphiti/templates/index_request_spec.rb.erb

Relatedly, the docs say that jsonapi_data is aliased to d but AFAICT, Sugar is not mentioned. https://www.graphiti.dev/guides/concepts/testing#jsonapi-data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions