No response? Is anyone using HttpMock? Thanks, Tom
On May 15, 4:32 pm, TomRossi7 <[email protected]> wrote: > A little more information: the problem is once you require > 'active_resource/http_mock' all subsequent tests will assume http > mocks exists. This makes it so I can't run my tests with rake. > > On May 15, 4:12 pm, TomRossi7 <[email protected]> wrote: > > > Some of my tests use ActiveResource HttpMock requests and some of them > > do not. Does anyone know if there is a way to disable the HttpMocks > > after they have already been loaded? The method > > ActiveResource::HttpMock.reset! only removes all the objects, but > > ActiveResource still thinks it should look for mock requests rather > > than actually making requests. I hope this makes sense! > > > Thanks, > > Tom > > > -- > > 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 > > athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > 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 > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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.

