title: Rails controller test with Rspec
body: <p>I an trying to organize code by making partial <code>html.erb</code> files that are shared frequently(e.g. <code>_form.html.erb</code>)</p>
  
  <p>I want to check whether my partial code works well with different models/controllers, so I am manually doing CRUD from the views.</p>
  
  <p>It would be nicer to test my code automatically using <code>Rspec</code> but I have no idea. Can anyone give me some guidance how to test controller code with <code>Rspec</code>?</p>