Dec14
Testing JSON/XML responses in Rails
Recently I had to find out how to test the output of a rails controller when the json format is specified. I’m using rspec by the way, but this should work in other frameworks as well.
My instinct, which was wrong, was to do what we do all over the rest of rails:
Continue reading »
Blogsplat