Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: wrightling
I struggled a bit, while converting my rails-api app to use ActiveModelSerializer, on how to modify my specs to check for the JSON coming back (without doing something ugly like hard coding them).
Thanks to Ryan for this RailsCast - it got me to take a look at active_model_serializer, as shown at the end of the asciicast, and using that in my tests simplified things.
You can see my conversion to active_model_serializer in this commit, including my request spec changes.