title: Rspec, Rails: how to test private methods of controllers?
body: <p>I have controller:</p>
  
  <pre><code>class AccountController &lt; ApplicationController
    def index
    end
  
    private
    def current_account
      @current_account ||= current_user.account
    end
  end
  </code></pre>
  
  <p>How to test private method <code>current_account</code> with rspec?</p>
  
  <p>P.S. I use Rspec2 and Ruby on Rails 3</p>