By extending minitest/spec HyperSpec provides a Ruby DSL for testing HTTP APIs from the "outside".
Full article: http://rubygems.org/gems/hyperspec