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.

