jsonapi-suite / jsonapi_compliable

MIT License
20 stars 35 forks source link

1.0: Decouple Rails/ActiveRecord tests #108

Closed richmolj closed 6 years ago

richmolj commented 6 years ago

There are now two sets of tests to run: library tests, and rails-specific integration tests:

This has always been roughly the case, but some things would be required when they shouldn't be.

This does formally choose to depend on active_support. The sugar is too nice to give up, and we'll eventually make heavy use of class_attribute. Nothing else in Rails is required.

Also: we now always require the Null adapter, and the ActiveRecord adapter is automatically required if ActiveRecord is defined (this probably ends up in a Railtie).

Write-specific Rails tests will still fail for now.

richmolj commented 6 years ago

@wadetandy on top of On top of https://github.com/jsonapi-suite/jsonapi_compliable/pull/107