Testing ActiveModel::Serializer classes with RSpec
Posted on .ActiveModel::Serializer has been rewritten to support more complex serialisations, including the nice and shiny JSONAPI standard. The upcoming version includes a new kind of abstraction, an Adapter. Basically, a serialiser is a class that defines what needs t…