module ThoughtBot::Shoulda::Controller::Macros

def should_render_template(template)

should_render_template :new

Example:
Macro that creates a test asserting that the controller rendered the given template.
def should_render_template(template)
  should "render template #{template.inspect}" do
    assert_template template.to_s
  end
end