lib/generators/rspec/controller/templates/controller_spec.rb
require 'spec_helper' <% module_namespacing do -%> describe <%= class_name %>Controller do <% for action in actions -%> describe "GET '<%= action %>'" do it "returns http success" do get '<%= action %>' response.should be_success end end <% end -%> end <% end -%>