I want to use the very powerful Rails testing framework to test
different kinds of servers (in my case, WordPress with some plugins
WordPress will run on 'localhost' and the database will be local.
I'll write the models to describe the database, so that Rails has full
visibility into the data. I'll use the fixtures and everything else.
What's needed is a way get the POST and GET calls to issue real HTTP
requests (normally, to 'localhost') and get the results from these
calls back to Rails. From there, it's an smooth sail. I'll be able to
use all the asserting calls and write normal looking tests.
My question is - how do I bend the test environment so that? Where can
I override the normal test code so that it issues real HTTP calls and
collects their output?