title: Should I test private methods using RSpec?
body: <p>Is it good practice to write tests for private methods?</p>
  
  <p>Consider the following simple example:</p>
  
  <pre><code>class Group
    has_many :members
  
    private
  
    def release_members
      members.each { |member| member.update_attributes group_id: nil }
    end
  end
  </code></pre>
  
  <p>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. <code>group.send(:release_members)</code> which is sometimes frowned upon.</p>