title: Rails: Override a template only during the execution of a specific generator
body: <p>I've created a generator that inherits of <code>Rails::Generators::ScaffoldControllerGenerator</code>. </p>
  
  <p>Rspec scaffolding generator is invoked by Rails' generator. I want to override one of its templates.</p>
  
  <p>I've successfully put my new template in this folder: <code>lib/templates/rspec/scaffold/</code>.</p>
  
  <p>However, now when I use Rails's generator my new template is used instead of Rspec' default one.</p>
  
  <p>Is there a way to override a template only during the execution of a specific generator?</p>