Open charleseff opened 15 years ago
As an addendum, allow asynchronous Javascript calls to the app from tests to hit a running Rails app and return live data.
Instead of having your javascript call a live rails app, you should be isolating it, perhaps stubbing out the $.ajax method in jQuery. Return the appropriate data, so you can have better control over your environment.
My vote is for the ability to use output from requests to Rails as fixtures instead of static HTML.
as opposed to a static HTML file which will quickly go stale.
Also: add the ability to call the Rails app via ajax calls.