I want to use the very powerful Rails testing framework to test
different kinds of servers (in my case, WordPress with some plugins
I'm developing).

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?

Thanks!
Amir Helzer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to