Generating a test file from The Ruby on Rails Tutorial
<p>Chapter 5 exercise "full_title" test. I tried the pattern from the previous file generation example...</p>

<pre><code>$ rails generate integration_test site_layout
</code></pre>

<p>and when I try </p>

<pre><code>$ rails generate helpers_test application_helper,
</code></pre>

<p>The path I'm supposed to get is <code>test/helpers/application_helper_test.rb</code>,  but the error I get is <code>"Could not find generator 'helpers' "</code></p>

<p>Below is the class that is supposed to be generated</p>

<pre><code>require 'test_helper
class ApplicationHelperTest &lt; ActionView::TestCase
  test 'full title helper' do
  ....
  ....
end
end
</code></pre>

<p>The question is what must I do to generate the correct file in the right location and to get the correct class . </p>

<p>I went to the rails docs, and I reviewed this other question <a href="https://stackoverflow.com/questions/29127142/hartl-rail-tutorial-chapter-5-exercise-3">Hartl Rail Tutorial: Chapter 5, exercise 3</a></p>