On Wed, Jun 24, 2009 at 2:37 PM, TomRossi7<[email protected]> wrote:
>
> I'm trying to set up testing on my ActiveResource project.  The
> HttpMock appears to be what I want, but whenever I use the code in the
> "documentation", I get the error
>
> NameError: uninitialized constant ActiveResource::HttpMock
>
> Is there something I need to do to enable HttpMock testing?

require 'active_resource/http_mock' first ;)

jeremy

--~--~---------~--~----~------------~-------~--~----~
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