[rspec-users] Mocking ActiveResource

aslak hellesoy aslak.hellesoy at gmail.com
Wed Feb 7 03:41:35 EST 2007

On 2/7/07, Pat Maddox <pergesu at gmail.com> wrote:
> I want to use ActiveResource in my app.  Instead of hitting server
> though, I want it to load from a file when I call find.  Any clue how
> I do that?

In the same way as you'd mock ActiveRecord I would think. Is this not
working for you?


> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list