title: Writing a spec for helper with Ruby on Rails and RSpec
body: <p>I have been writing specs for controllers and models, but I have never written a helper spec. I have no idea where I start.</p>
  
  <p>I have the following snippet in <code>application_helper.rb</code></p>
  
  <pre><code>  def title(page_title)
      content_for(:title) { page_title }
    end
  </code></pre>
  
  <ul>
  <li>How should I write a helper spec on the code?</li>
  <li>Also if there's any open-source Rails app to show good helper testing/specing, do let me know.</li>
  </ul>