At Collective Idea, we do a lot of work with RESTful JSON APIs. They can be a joy to build but a pain to test. We’re currently working on a project that’s all API all the time, so we developed some reusable Cucumber steps for testing. Now, we’ve abstracted all that goodness out into its own gem… json_spec. The Gem The json_spec gem is a collection of RSpec matchers and a collection of Cucumber ste
![Test Your API with Cucumber and json_spec](https://cdn-ak-scissors.b.st-hatena.com/image/square/84e1b3e2d4ee8067af106b8f1661cec41fe0af57/height=288;version=1;width=512/https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fcollectiveidea.com%2F%2Fmeta%2Fshare.png)