HTTPFiesta

Ever find it ugly to validate httparty responses? Now there's a super simple way to validate your HTTP responses using the httpfiesta gem.

The gem allows you to validate any response using a single line of code in a very DRY manner:

response = HTTParty.get 'http://example.com'  
response.assert.status(200).content_type(:json)

Check out the GitHub repository repository for more information!

comments powered by Disqus