Skip to content
This repository

Generate fixtures on the fly from the Rails itself #28

charleseff opened this Issue · 3 comments

3 participants

Charles Finkel Corey Haines Ian Lotinsky
Charles Finkel

as opposed to a static HTML file which will quickly go stale.

Also: add the ability to call the Rails app via ajax calls.

Charles Finkel

As an addendum, allow asynchronous Javascript calls to the app from tests to hit a running Rails app and return live data.

Corey Haines

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.

Ian Lotinsky

My vote is for the ability to use output from requests to Rails as fixtures instead of static HTML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.