Check out flexmock as well

http://flexmock.rubyforge.org/

On Fri, Apr 23, 2010 at 11:09 AM, Frederick Cheung
<[email protected]> wrote:
>
>
> On Apr 23, 8:33 am, mariek <[email protected]> wrote:
>
>> And the reason why I need to do it this way is because in some
>> particular tests I need to mock the class method and in other i don't.
>> In my case it is about calls to sandbox. In some tests I check if they
>> are made correctly and in other I test only logic flow and I don't
>> want to make real calls to sandbox.
>>
>> Thanks for any ideas.
>>
>
> use something like mocha, rr or the mocking in rspec ?
>
> Fred
>> --
>> 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.
>
>

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