Skip to content

Matchers to handle data arrays #27

@BrennickL

Description

@BrennickL

Expected Behavior

Should be able to handle Arrays.

Actual Behavior

Does not handle arrays.

Steps to Reproduce the Problem

  1. Create a JSON Serialized object that has the 'data' attribute as an array.
  2. Deserialize the JSON object
  3. Pass the 'data' attribute to the matchers, either as a single node or as an array of nodes.

Specifications

  • Version:
  • jsonapi-rspec (0.0.10)
    Summary: RSpec matchers for JSON API.
    Homepage: https://github.com/jsonapi-rb/jsonapi-rspec
    Path: /Users/brennick.langston/.rbenv/versions/2.3.7/lib/ruby/gems/2.3.0/gems/jsonapi-rspec-0.0.10
  • Ruby version:
    ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin19]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions