I have a model that as an instance maintains a session on a website, and
methods to return some scraped data. Instead of hitting a URL over and
during testing, I would like to just save the source to a file and use
like a fixture. A mock object doesn’t seem appropriate, because there
lot of data here. What I’m doing now is storing each separate “fixture”
the directory fixtures/modelnames. I can’t imagine I’m the first person
have a model that maintains data, but does not extend activerecord.
you guys do for this?