it's up to you. if you're satisfied that the private method is working properly in the course of testing the public methods then fine, otherwise you should be able to call the private method like:
@my_object.send(:private_method_name, arg1, arg2) On Nov 14, 10:16 am, daociyiyou <[EMAIL PROTECTED]> wrote: > For the methods defined as private,we need to test it? > For the reason that the private methods are used within the public > methods,so we need not to test the private methods as long as the > public methods are tested? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

