ESpecJSONAPIMatchers

Custom ESpec matchers to ease testing of JSON API compliant endpoints.

Installation

  1. Add espec_json_api_matchers to your list of test-only dependencies in mix.exs:
```elixir
def deps do
  [{:espec_json_api_matchers, "~> 0.1.0", only: :test}]
end
```
  1. import ESpecJSONAPIMatchers on the spec file(s) that will use the custom matchers (these are typically your view tests);

  2. Refer to the documentation for instructions on how to use the matchers.

Available Matchers

Notes