In Ruby On Rails By Leigh Halliday November 30, 2015 Leigh Halliday

Originally on: theScore

Jbuilder to AMS - A tested journey

Not everyone is creating a new Rails app from scratch. Most of us have existing ones which may use RABL, Jbuilder, or a number of other options to generate JSON responses. When we're refactoring large and important parts of our app, how can we test to ensure that refactoring doesn't change the app's behaviour? This article explores that by testing JSON endpoints as we change from Jbuilder to AMS.

Read more at http://techblog.thescore.com/2015/11/27/jbuilder-to-ams-a-tested-journey ...