Is it good practice to write tests for private methods?
Consider the following simple example:
class Group
  has_many :members
  private
  def release_members
    members.each { |member| member.update_attributes group_id: nil }
  end
end
Would it be good practice to write a test for the release_members method in RSpec?  I believe you'd have to write the test calling the method with send ie. group.send(:release_members) which is sometimes frowned upon.
 
     
     
    